Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Sheet.NamedRange
Gets the named range coordinates by index.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.NamedRange"; bookRef; sheetIndex; Index; selector { ; ScopeID } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref | |
sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
Index | The index of the named range from 0 to XL.Sheet.NamedRangeCount. | 0 | |
selector | What information to return: rowFirst, rowLast, colFirst, colLast and name. | "name" | |
ScopeID | The scope ID to use for search. Can be -2 for undefined, -1 for workbook or positive number for other IDs. Default is undefined. |
-1 | Optional |
Result
Returns value or error.
Description
Gets the named range coordinates by index.See also
- XL.Book.SheetCount
- XL.LoadBook
- XL.Sheet.GetNamedRange
- XL.Sheet.NamedRangeCount
- XL.Sheet.SetNamedRange
Release notes
- Version 8.2
- Added scope ID parameter for XL.Sheet.GetNamedRange and XL.Sheet.NamedRange.
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 16th March 2018