PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Name of array of strings containing the names of cells selected in the Spreadsheet control.
If no cell is selected, <Result> corresponds to an empty string ("").
<Spreadsheet Control>: Control name
Name of Spreadsheet control to use.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment