Hi,
I want to convert ms-excel file into Aspose.cell.excel
Because I am already using ms excel file in my code and I to use that one
only to generate charts.
Dim workbook As New Workbook()
workbook.Open("f:\test\ChartTest.xls")
Instead of this I want to use
workbook=cype(myexcelworkbook,aspose.cell.workbook) but through error
"
Unable to cast COM object of type 'Excel.WorkbookClass' to class type
'Aspose.Cells.Workbook'. Instances of types that represent COM components
cannot be cast to types that do not represent COM components; however they
can be cast to interfaces as long as...
"
If we go for ur first code that is
workbook.Open("f:\test\ChartTest.xls")
This is also throwing error that this file is already used by another
process,so cannot be opened.
Please help me.
This message was posted using Email2Forum by Amjad Sahi.