We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Master object of workbook

Hi,

Is there any master object for workbook. For example: we can create new worksheet or handle the existing worksheet from a workbook. Same way is it posible to create a new workbook from any other object other than using Workbook workbook = new Workbook();

I need this to see if there is any alternative for the below code. I'm refering xlApp as the master object for workbook.

Set xlApp = CreateObject("Excel.Application")
xlApp.Visible = False
xlApp.Workbooks.Add
xlApp.ReferenceStyle = 2
xlApp.DisplayAlerts = False

Thanks

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

Well, Workbook is the top root class in the Aspose.Cells class hierarchy. So, you have to use the workbook class to perform any required operation after opening or creating a workbook.

Please see the following link which shows the Object Model for Aspose.Cells,

http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/aspose-cells-object-model.html

Thank You & Best Regards,