We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RefersToRange is null from a NamedRange

Thread ID:





130567 May 18,2017 09:50 AM UTC May 19,2017 12:27 PM UTC ASP.NET MVC 1
Tags: XlsIO
Asked On May 18, 2017 09:50 AM UTC

I have a spreadsheet with a named ranges, but after getting the name of workbook, it's refersToRange is null.

IWorkbook workbook = application.Workbooks.Open(filePath);
var namedRange = workbook.Names["Nicolas"];
var range = namedRange.RefersToRange;

If I create a simple excel file, I can retrieve the RefersToRange value.
Moreover, many namedRange properties throw nullReferenceException.

Version of XslIO.Base : 15.1400.0.41

Attachment: test_19f275ff.zip

Abirami Varadharajan [Syncfusion]
Replied On May 19, 2017 12:27 PM UTC

Hi Nicolas, 
We are able to reproduce the issue “Named Range’s RefersToRange returns null when it’s RefersToRange is Table Range”. A support incident to track the status of this issuehas been created under your account. Please log on to our support website to check for further updates.   
Please let us know if you have any concerns.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon