Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ah! Thanks for the insight Rick!
Happy Holidays!! Ryan-- -- RyGuy "Rick Rothstein" wrote: But, if you wanted to use Offset and Resize, that could be done quite compactly... Sub asdf() Cells(Rows.Count, "A").End(xlUp).Offset(, 5).Resize(1, 65).Select End Sub -- Rick (MVP - Excel) "Gary''s Student" wrote in message ... Neither the move 5 or the resize is necessary: Sub asdf() n = Cells(Rows.Count, "A").End(xlUp).Row Range("F" & n & ":BR" & n).Select End Sub -- Gary''s Student - gsnu200822 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select ActiveCell Range | Excel Programming | |||
ActiveCell.Row in Range().Select? | Excel Programming | |||
Range Select with ActiveCell and Offset property | Excel Programming | |||
select range next to activecell | Excel Programming | |||
Select Activecell in Range | Excel Programming |