Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Book.SheetIndexForName

Queries sheet index for sheet name.

Component Version macOS Windows Linux Server iOS SDK
XL 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Book.SheetIndexForName"; bookRef; Name )   More

Parameters

Parameter Description Example
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

Blog Entries

This function checks for a license.

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


XL.Book.SheetCount - XL.Book.Sheets

💬 Ask a question or report a problem