PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property NbSheet allows to know the number of worksheets in an Spreadsheet control.
Example
// Browse the wooksheets found in PSHEET_MySpreadsheet
FOR I = 1 TO TBLR_Table_Mount.NbSheet
TBLR_Flipchart.SheetInProgress = 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 Spreadsheet control to use.
Remarks
  • To manage more than one worksheet, the Spreadsheet control must allow the management of several worksheets:
    • In the editor: In the "Details" tab of the control description window, check "Allow management of several worksheets".
    • By programming, use MultiWorksheet.
  • The worksheets can be created:
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment