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

Free Support Forum - aspose.com

Workbook.Name Aspose Equivalent


I want equivalent property for Excel.Workbook.Name in Aspose.Cells.Workbook.Name?
Please help.

Sanjeev Gharmode

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

Thank you for considering Aspose.

Please give us some more information that in which scenario you require the workbook.Name property?

Excel.Workbook.Name property gives the name of the ActiveWorkbook and it is basically the name of the Excel fIle (Without extension and is a read-only property). In case of Aspose.Cells, you provide the filename during opening and saving the file, so you can get that workbook’s name from the filename you are providing to open/save, by truncating the file extension.

Thank You & Best Regards,