Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Sheet.GetNamedRange
Gets the named range coordianates by name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.GetNamedRange"; BookRef; SheetIndex; Name; 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 | |
Name | The name of the named range. | "test" | |
Selector | Which value to return: rowFirst, rowLast, colFirst, colLast, name. | "rowFirst" | |
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 coordianates by name.See also
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
