spreadsheet range name

Good morning,


i'm using the spreadsheet control and i can add worksheet, cells value etc. I can not understand hot to name a Range. is it possible?

Thank You

Best regards



3 Replies 1 reply marked as answer

DM Dhanasekar Mohanraj Syncfusion Team August 3, 2022 02:24 PM UTC

Hi Marco del frate,

You can achieve your requirement to set the name for the range using AddNamedRange method shown below code snippet,

spreadsheet.AddNamedRange("SampleName", "A3:B3", "Sheet1");


For more information related to named ranges, please refer to the below user guide documentation link,

UG Link: https://help.syncfusion.com/wpf/spreadsheet/formulas#define-named-ranges-at-runtime

Please let us know if you have any concerns about this.

Regards,
Dhanasekar M.


Marked as answer

MD marco del frate August 3, 2022 03:44 PM UTC

Thank You! It works perfectly



DM Dhanasekar Mohanraj Syncfusion Team August 4, 2022 02:14 PM UTC

Hi Marco del frate,


If you are satisfied with our response, please mark it as an answer. Otherwise, please let us know if you have any further queries on this. We are happy to help you.


Regards,

Dhanasekar M.


Loader.
Up arrow icon