PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Retrieves the list of selected cells in a Spreadsheet control found in a window.
Example
// Calculates the sum of all selected cells
// (Numeric cells)
Total is int
FOR EACH sCellName OF SpreadsheetGetSelection(PSHEET_Spreadsheet)
Total += PSHEET_Spreadsheet[sCellName]
END
Syntax
<Result> = SpreadsheetGetSelection(<Spreadsheet control>)
<Result>: Array of strings
  • Array of strings containing the name of the selected cells in the Spreadsheet control.
  • Empty string ("") if no cell is selected.
<Spreadsheet control>: Control name
Name of Spreadsheet control to use.
Component : wd250obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment