Hi,
I have to get the current object instance of the Excel Workbook opened. I have created an excel plugin(VSTO) using C#.Net. I am able to get the current excel workbook object using Microsft.Interop.Excel workbook object. After getting the object instance, i want to change it to Aspose.Cells Workbook object. I tried to do the following casting, but it failed.
Aspose.Cells.Workbook apWorkbook = new Aspose.Cells.Workbook();
apWorkbook = (Aspose.Cells.Workbook)Microsoft.Office.Interop.Excel.Application.ActiveWorkbook;
Please help in converting the MS Office Interop Excel Workbook object to Aspose.Cells Workbook object.
Thanks,
Joe