XLGetSheetDims


 

XLGetSheetDims>XLBookHandle,SheetName,MaxRows,MaxCols

 

Not supported in Macro Scheduler Lite.

 

This function requires Microsoft Excel to be installed.

 

Returns the number of rows and columns containing data in the given sheet. XLBookHandle is a handle returned by XLCreate/XLOpen.

 

Abbreviation: XSD

See also: XLAddSheet, XLCreate, XLDelCol, XLDelRow, XLDelSheet, XLFind, XLGet, XLGetCell, XLGetSelectedCell, XLGetSheetNames, XLOpen, XLQuit, XLRun, XLRunCode, XLSave, XLSelectRange, XLSetCell, XLSetCellColor, XLSetRangeFormat, XLSheetToArray 

 

Example

 

XLOpen>%USERDOCUMENTS_DIR%\mybook.xls,1,xlBook

XLGetSheetDims>xlBook,Customers,rows,cols