|
|
|
|
|
NbWorksheet (Property) In french: NbFeuille
The NbWorksheet property is used to get the number of worksheets in a Spreadsheet control.
FOR I = 1 TO PSHEET_MySpreadsheet.NbWorksheet
PSHEET_MySpreadsheet.CurrentWorksheet = I
PSHEET_MySpreadsheet["A1"] = "On the worksheet " + I
END
Syntax
<Result> = <Spreadsheet control>.NbWorksheet
<Result>: Integer Number of worksheets found in the Spreadsheet control. <Spreadsheet control>: Control name Name of the Spreadsheet control to be used. Remarks - To manage more than one spreadsheet, the Spreadsheet control field must allow multiple spreadsheets to be managed:
- In the editor: In the "Detail" tab of the control description window, check the "Allow multiple worksheets" option..
- Use the MultiWorksheet property.
- Sheets can be created:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|