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.
Unfortunately, activation email could not send to your email. Please try again.

RefersToRange is null from a NamedRange

Thread ID:

Created:

Updated:

Platform:

Replies:

130567 May 18,2017 05:50 AM May 19,2017 08:27 AM ASP.NET MVC 1
loading
Tags: XlsIO
NLD
Asked On May 18, 2017 05:50 AM

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 08:27 AM

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.

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.

;