Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do you select a range of cells with relative value instead of absolute values in a macro?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This will select the cell in the next column:
Range("A1").Offset(0, 1).Select This will select a region the same size as B5:G15 but offset 20 rows down. Range("B5:G15").Offset(20, 0).Select -- Rob van Gelder - http://www.vangelder.co.nz/excel "DGernand" wrote in message ... How do you select a range of cells with relative value instead of absolute values in a macro? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If it helps - when you record a macro you can choose (using the small toolbar that appears during recording) to alter the selection from relative to absolute. you can then copy the recorded code into your procedure...
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Scatterpoot not using X values properly -- using relative ranking | Charts and Charting in Excel | |||
Relative Values in Pivot Table | Excel Discussion (Misc queries) | |||
Absolute Values in Relative Cells | Excel Worksheet Functions | |||
Relative, absolute and mixed values | Excel Discussion (Misc queries) | |||
Relative values and NAME | Excel Worksheet Functions |