|
|
|
|
<Spreadsheet>.AddData (Function) In french: <Tableur>.AjouteDonnée Adds a data into a Spreadsheet control found in a window. //  Initialize the 1st column with numbers from 1 to 10 FOR I = 1 TO 10 PSHEET_Spreadsheet.AddData(1, I, "Row " + I) END //  Initialize the 1st row with numbers from 1 to 10 FOR I = 1 TO 10 PSHEET_Spreadsheet.AddData(1, i, "Column " + I) END
Syntax
<Spreadsheet control>.AddData(<Column> , <Row> , <Data>)
<Spreadsheet control>: Control name Name of the Spreadsheet control to be used. <Column>: Integer Column number of the value to add. <Row>: Integer Row number of the value to add. <Data>: Type of data Value to add. Remarks - If the cell (Column, Row) does not exist, this cell is created.
- If the cell (Column, Row) already exists, the content of the cell is replaced with <Data>.
- This function can only be used on a Spreadsheet control found in a window.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|