|
|
|
|
|
SpreadsheetSeek (Function) In french: TableurCherche Seeks a value in the cells of a Spreadsheet control found in a window. sCell is string = SpreadsheetSeek(TBLR_SansNom1, "%NOMCLIENT%")
IF sCell <> "" THEN
TBLR_SansNom1[sCell] = "Durant"
END
sCell is string = SpreadsheetSeek(TBLR_SansNom1, "TVA")
WHILE sCell <> ""
Trace(sCell)
sCell = SpreadsheetSeek(TBLR_SansNom1, "TVA", sCell)
END
Syntax
<Result> = SpreadsheetSeek(<Spreadsheet control> , <Search value> [, <Start> [, <Options>]])
<Result>: Character string - Name of cell found ("A1" for example). If several cells are found, <Result> contains the name of first cell found.
- "" (empty string) if no cell is found.
<Spreadsheet control>: Control name Name of the Spreadsheet control to be used. <Search value>: Type of sought value Value to find in the cells of Spreadsheet control. This value can correspond to a number or to a character string. <Start>: Optional character string Name of the from which the search will be performed. This cell is excluded from the research. Note: this parameter scrolls through all cells containing a. If this parameter is not specified or is an empty string (""), the search starts at cell "A1". <Options>: Optional Integer constant Search options: | | psheetSearchWithCase | Case-sensitive search. | psheetSearchContain | "Contains" search. | psheetSearchInFormula | Search only in formulas. | psheetSearchExact | Exact-match search. | psheetSearchCurrentWorksheet | Search in the current worksheet. | psheetSearchNoCase | Case-insensitive search. | psheetSearchAnyWorksheet | Search in all sheets of the workbook. |
By default, the search is based on the following combination of constants: tblrRechAvecCasse + tblrRechFeuilleEnCours + tblrRechExact Remarks - The search is performed in the following order: A1, B1, C1, ..., A2, B2, C2, ...
- This function can only be used on a Spreadsheet control found in a window.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|