Articles in this section
Category / Section

How can we access named ranges by using XlsIO?

1 min read

You can access the named range through workbook. It can be accessed through its name or its index and add text to it or access the address of the referred range without having to access the worksheet. Please refer the below code snippet.

C#

workbook.Names["A1"].RefersToRange.Text = "XlsIO";

 

VB

workbook.Names("A1").RefersToRange.Text = "XlsIO"

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied