Free Support Forum -

Workbook is not a class in Excel namespace

I'm attempting to evaluate the Aspose.Cells product, but have run into a problem right off the bat. I'm following the "Your first application" tutorial at I'm trying to declare the workbook, as it shows in the code, but Workbook is not a class within the Excel namespace. Worksheets and Worksheet are there, but not Workbook.

I'm using VS2008. I've added a reference to Aspose.Excel. This is the line that won't work:

Dim wb As Aspose.Excel.Workbook = New Aspose.Excel.Workbook

I browsed the Excel namespace and Workbook is not there. What's going on?


I think I may have figured out what’s going on after reading an unrelated post. I downloaded and installed Aspose.Total for .Net New release. Apparently I have to also download and install the 6 Hot Fixes that were released since this New Release in order to have the most current version of each product. It appears Aspose.Excel became Aspose.Cells (and Aspose.Excel.Web became Aspose.Grid, and Aspose.Project became Aspose.Tasks, and Aspose.Word became Aspose.Words, and . . .).


Yes, you have rightly figured out. So, you should use Aspose.Total for .NET hot fix: which contains the latest versions of each product.

Thank you.