EXCEL FIND CELL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Up}} {{Command|syntax=EXCEL_FIND_CELL <row 1> <col 1> <row 2> <col 2> <cell text> <row> <col> |description=:Find a certain cell with defined text in a given cell ran...
 
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=EXCEL_FIND_CELL <row 1> <col 1> <row 2> <col 2> <cell text> <row> <col>
{{Command|syntax=EXCEL_FIND_CELL <row 1> <col 1> <row 2> <col 2> <cell text> <row> <col>
|description=:Find a certain cell with defined text in a given cell range.
|description=:Find a cell in a given range or cells.


|param1=<row 1>|param1_desc={{row 1}}
|param1=<row 1>|param1_desc={{row 1}}
|param2=<col 1>|param2_desc={{col 1}}
|param2=<col 1>|param2_desc={{col 1}}
|param3=<row 2>|param3_desc= {{row 2}}
|param3=<row 2>|param3_desc={{row 2}}
|param4=<col 2>|param4_desc={{col 2}}
|param4=<col 2>|param4_desc={{col 2}}
|param5=<cell text>|param5_desc=Define the text to be found, must be in double quotes, can be a string variable.
|param5=<cell text>|param5_desc=The text to search for. The contents of the cell must match this text.
|param6=<row>|param6_desc={{var name}} for the row number
|param6=<row>|param6_desc={{var name}} for the row number
|param7=<col>|param7_desc={{var name}} for the column number
|param7=<col>|param7_desc={{var name}} for the column number
Line 14: Line 14:


===Example===
===Example===
:EXCEL_FIND_CELL 2, 2, 4, 6, "mycell", r1, c1
:EXCEL_FIND_CELL 2, 2, 4, 6, "MyCell", r1, c1


[[Category:Excel]]
[[Category:Excel]]

Revision as of 17:35, 12 January 2011

Up

Command

EXCEL_FIND_CELL <row 1> <col 1> <row 2> <col 2> <cell text> <row> <col>


Find a cell in a given range or cells.

Parameters

<row 1>
Start row number
<col 1>
Start column number
<row 2>
End row number
<col 2>
End column number
<cell text>
The text to search for. The contents of the cell must match this text.
<row>
Set the value of a number variable for the row number
<col>
Set the value of a number variable for the column number

Example

EXCEL_FIND_CELL 2, 2, 4, 6, "MyCell", r1, c1