EXCEL GET RANGE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=EXCEL_GET_RANGE <range number>, <row 1>, <col 1>, <row 2>, <col 2>
{{Command|syntax=EXCEL_GET_RANGE <range number>, <row 1>, <col 1>, <row 2>, <col 2>
|description=:Get a range of cells from an excel document for later use in the macro.
|description=:Get a range of cells from the currently open excel document for later use in the macro.


|param1=<range number>|param1_desc={{range number}}
|param1=<range number>|param1_desc={{range number}}

Revision as of 21:12, 22 July 2010

Command

EXCEL_GET_RANGE <range number>, <row 1>, <col 1>, <row 2>, <col 2>


Get a range of cells from the currently open excel document for later use in the macro.

Parameters

<range number>
Range number (1 to 10).
<row 1>
Start row number
<col 1>
Start column number
<row 2>
End row number
<col 2>
End column number

Example

EXCEL_GET_RANGE 2, 2, 4, 6, 5