ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Spreadsheet functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Saves:
  • the scrollbar position in a Spreadsheet control for the current worksheet,
  • the current worksheet in the Spreadsheet control,
  • the selected elements in the Spreadsheet control for the current worksheet.
These elements can be restored by SpreadsheetRestorePositionAndSelection.
Example
let MaSauvegarde = SpreadsheetSavePositionAndSelection(TBLR_Tableur1) 

// Met en gras la cellule B1
SpreadsheetSelectPlus(TBLR_Tableur, "B1")
SpreadsheetStyleSelection(TBLR_Tableur, psheetBold, True)

// Restaure la position/sélection 
SpreadsheetRestorePositionAndSelection(TBLR_Tableur1, MaSauvegarde)
Syntax
<Result> = SpreadsheetSavePositionAndSelection(<Spreadsheet control>)
<Result>: Character string
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help