ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Spreadsheet functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Moves a worksheet within a Spreadsheet control in a window.
Example
// Moves the current worksheet to the first position
SpreadsheetMoveWorksheet(PSHEET_MySpreadsheet, 1)
Syntax

Moving a worksheet identified by its number Hide the details

SpreadsheetMoveWorksheet(<Spreadsheet control> , <New worksheet position> [, <Worksheet number>])
<Spreadsheet control>: Character string
Name of the Spreadsheet control to be used.
<New worksheet position>: Integer
New position of the worksheet (1 to move it to the first position, total number of worksheets to move it to the last position).
<Worksheet number>: Optional integer
Number of the worksheet to be moved. If this parameter is not specified, the current worksheet is moved.

Moving a worksheet identified by its name Hide the details

SpreadsheetMoveWorksheet(<Spreadsheet control> , <New worksheet position> , <Worksheet name>)
<Spreadsheet control>: Character string
Name of the Spreadsheet control to be used.
<New worksheet position>: Integer
New position of the worksheet (1 to move it to the first position, total number of worksheets to move it to the last position).
<Worksheet name>: Character string
Name of the worksheet to be moved.
Component: wd290obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help