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=*DESCRPTION*
|description=:Get a range of cells from an excel document for later use in the macro.


|param1=<range number>|param1_desc={{range number}}
|param1=<range number>|param1_desc={{range number}}
|param2=<row 1>|param2_desc={{range number}}
|param2=<row 1>|param2_desc={{row 1}}
|param3=<col 1>|param3_desc={{col 1}}
|param3=<col 1>|param3_desc={{col 1}}
|param4=<row 2>|param4_desc= {{row 2}}
|param4=<row 2>|param4_desc= {{row 2}}
Line 10: Line 10:


===Example===
===Example===
:- EXCEL_GET_RANGE
:EXCEL_GET_RANGE 2, 2, 4, 6, 5


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

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 an 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