#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default macro row movement

In Excel 2003 macro, how do you tell the macro recorder to record the action
of "move down three cells from the current cell."
Using the down arrow key places a cell reference and this won't work for me.
Using the "Enter" key pastes from my clipboard so that does'nt work. What
is the simple solution?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default macro row movement

Activecell.Offset(3,0).Select

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"inflnow" wrote in message
...
In Excel 2003 macro, how do you tell the macro recorder to record the
action
of "move down three cells from the current cell."
Using the down arrow key places a cell reference and this won't work for
me.
Using the "Enter" key pastes from my clipboard so that does'nt work. What
is the simple solution?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default macro row movement

Bob, you're the best. You saved me 2 weeks of growing very old. In the (3,0)
would reversing direction equate to (-3,0) and is the 0 column movement?

"Bob Phillips" wrote:

Activecell.Offset(3,0).Select

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"inflnow" wrote in message
...
In Excel 2003 macro, how do you tell the macro recorder to record the
action
of "move down three cells from the current cell."
Using the down arrow key places a cell reference and this won't work for
me.
Using the "Enter" key pastes from my clipboard so that does'nt work. What
is the simple solution?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default macro row movement

Yes

-3 would move up 3 rows.

The 0 is the column designation in the Offset(3, 0)

Offset(0, 3) is same row, 3 columns to right.


Gord Dibben MS Excel MVP

On Fri, 27 Jun 2008 09:28:03 -0700, inflnow
wrote:

Bob, you're the best. You saved me 2 weeks of growing very old. In the (3,0)
would reversing direction equate to (-3,0) and is the 0 column movement?

"Bob Phillips" wrote:

Activecell.Offset(3,0).Select

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"inflnow" wrote in message
...
In Excel 2003 macro, how do you tell the macro recorder to record the
action
of "move down three cells from the current cell."
Using the down arrow key places a cell reference and this won't work for
me.
Using the "Enter" key pastes from my clipboard so that does'nt work. What
is the simple solution?





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default macro row movement

But be careful when you set an offset that you have room to reference that
offset. For instance, if B2 is the activecell, Offset(-2,0) will throw an
error.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Yes

-3 would move up 3 rows.

The 0 is the column designation in the Offset(3, 0)

Offset(0, 3) is same row, 3 columns to right.


Gord Dibben MS Excel MVP

On Fri, 27 Jun 2008 09:28:03 -0700, inflnow

wrote:

Bob, you're the best. You saved me 2 weeks of growing very old. In the
(3,0)
would reversing direction equate to (-3,0) and is the 0 column movement?

"Bob Phillips" wrote:

Activecell.Offset(3,0).Select

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"inflnow" wrote in message
...
In Excel 2003 macro, how do you tell the macro recorder to record the
action
of "move down three cells from the current cell."
Using the down arrow key places a cell reference and this won't work
for
me.
Using the "Enter" key pastes from my clipboard so that does'nt work.
What
is the simple solution?








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a Macro to give movement to a graphic. [email protected] Excel Discussion (Misc queries) 4 January 9th 08 12:04 AM
Cursor Movement? micah Excel Worksheet Functions 10 October 30th 07 04:18 AM
Cursor movement in a macro Kanga Excel Discussion (Misc queries) 3 January 11th 07 01:10 AM
cursor movement crissy Excel Worksheet Functions 3 June 30th 06 09:41 PM
movement Ross Excel Discussion (Misc queries) 6 September 25th 05 01:48 PM


All times are GMT +1. The time now is 04:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"