Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

XL.Book.SheetIndexForName

Queries sheet index for sheet name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XL 5.4 Yes Yes Yes Yes Yes

MBS( "XL.Book.SheetIndexForName"; bookRef; Name )

Parameters

Parameter Description Example value
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
Name The name of the sheet to keep. "People"

Result

Returns number or error.

Description

Queries sheet index for sheet name.
Returns empty result if not found.

Examples

Shows index for a sheet:

Show Custom Dialog ["Sheets"; MBS("XL.Book.SheetIndexForName"; $bookRef; "Reiter 2")]

See also

Created 4th November 2015, last changed 4th November 2015


XL.Book.SheetCount   -   XL.Book.Sheets

Feedback: Report problem or ask question.




Links
MBS Xojo blog