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

Free Support Forum - aspose.com

Accessing 2007 Predefined custom Styles

Hello,

I'm trying to access pre-defined styles we've created in an existing Excel 2007 workbook. (Like BFS_Text_Locked, BFS_Currency_Edit).

I've created these styles and would like to set them to newly created cells.

I've tried the Workbook.Styles collection, but only the basic format styles (plus 'Normal') are there.

I've also opened the workbook using:

wb.Open(this._workbookFile, FileFormatType.Excel2007Xlsx);

I would like to do something like:

this.Sheet.Cells[0,0].Style = this.Sheet.Workbook.Styles["BFS_Text_Locked"];

Is this possible? or is there another way to do this?

(I'm using version 4.8.2.0).

Thanks

-frank

Hi Frank,

We found the issue after an initial test.

We have added it into our issue tracking system with an issue id: CELLSNET-13657. We will keep you updated soon when we figure it out.


Thank you.

Hi,

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

Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. We have fixed your mentioned issue.

Thank You & Best Regards,

The issues you have found earlier (filed as 13657) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.