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

Free Support Forum - aspose.com

Property "ID" by Range

Hi Guys,

I miss the property “ID” when using a range object like VBA.
See the following link:
Is there a way to implemented the property in the future.

Thank you for your support.


Thanks for the details.

Does Range.Name not suit your needs, see the following sample code for your reference:
Sample code:

Workbook workbook = new Workbook();
 //Accessing the first worksheet in the Excel file
 Worksheet worksheet = workbook.Worksheets[0];
 //Creating a named range
 Range range = worksheet.Cells.CreateRange("A1", "A1");
 //Setting the name of the named range
 range.Name = "target";

If this does not accomplish your task, then please elaborate on “ID” attribute and its purpose. Moreover, provide complete details with template file and example(s), so we could evaluate it further and log a ticket for it into our database.