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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RefersToRange is null from a NamedRange

Thread ID:

Created:

Updated:

Platform:

Replies:

130567 May 18,2017 09:50 AM UTC May 19,2017 12:27 PM UTC ASP.NET MVC 1
loading
Tags: XlsIO
NLD
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.  
  
Regards,  
Abirami.  


CONFIRMATION

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.

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

;