EXCEL GET RANGE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[:Category:Excel|{{Up}}]] | |||
{{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 the currently open 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. | ||
Revision as of 14:30, 2 August 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