Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Using VBA, how do you tell Excel to go down to the next cell relatively, rather than absolutely?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
not quite sure what you're trying to do. Maybe activecell.offset(1,0).select -- Regards Frank Kabel Frankfurt, Germany CC wrote: Using VBA, how do you tell Excel to go down to the next cell relatively, rather than absolutely? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Activecell.Offset(1,0).Select
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "CC" wrote in message ... Using VBA, how do you tell Excel to go down to the next cell relatively, rather than absolutely? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi CC,
CC wrote: Using VBA, how do you tell Excel to go down to the next cell relatively, rather than absolutely? ActiveCell.Offset(1, 0).Select or ActiveCell(2, 1).Select However, it's rare that you need to select anything when working with Excel through VBA. If you just need the value of the cell below the activecell, you could do this: MsgBox ActiveCell.Offset(1, 0).Value or MsgBox ActiveCell(2, 1).Value -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Message telling calculation is complete | Excel Discussion (Misc queries) | |||
formula telling me if person is 19 or older today | Excel Discussion (Misc queries) | |||
how come microsoft wont let me type? it's telling me is locked | Excel Discussion (Misc queries) | |||
Are you kidding me??? Are you telling me I can't sort format: dddd, mmmm dd, yyyy? | Excel Discussion (Misc queries) | |||
Telling the difference between zero and blank in IF statement | Excel Worksheet Functions |