Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

WorkbookGetSheetCount Function

Overview

The WorkbookGetSheetCount function returns the number of sheets stored in a workbook.

Syntax/Parameters

Syntax

int = WorkbookGetSheetCount ( handle hWorkbook );

Parameters

hWorkbook

A handle to a Workbook Object.

Return Value

Returns an int as the number of sheets or a formatted error code on failure. Use the GetLastError and GetLastErrorMessage to retrieve additional information.

Remarks

This function can be used to get the total number of available sheets within the workbook.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic

Page revised 2024-12-13