Previous - xlsQuit Section Home - Microsoft Excel Next - xlsGo


xlsCount ( )

Obtains the number of Excel worksheets in the current workbook

Usage:

xlsCount (object me)

Parameters:

None

Returns:

(integer) - The number of Excel sheets

Example:

xtRose = xtra("Rosetta").new( )
xtRose.xlsLaunch( )
xtRose.xlsOpen( "C:\myCalculations.xls", EMPTY )
nSheets = xtRose.xlsCount( )

Notes:


Previous - xlsQuit Section Home - Microsoft Excel Next - xlsGo