Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How to include a 'down' key in a macro

Hello All

I have a macro that I recorded and it works OK - except that when I used the
up/down/left/right arrows during the recording, this didn't seem to be
included in the macro. The actual cell addresses were recorded, whereas I
wanted to say "now move down 5 cells".
Is there a way of getting the macro to include these commands - or
alternatively of editing the macro and adding them directly?

Thanks for any help
Les


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default How to include a 'down' key in a macro

You can "move down" using something like

ActiveCell.Offset(5, 0).Activate

However, using selections are usually rather difficult to maintain.
Perhaps if you posted the relevant code, some suggestions could be
made...


In article ,
"Leslie Isaacs" wrote:

Hello All

I have a macro that I recorded and it works OK - except that when I used the
up/down/left/right arrows during the recording, this didn't seem to be
included in the macro. The actual cell addresses were recorded, whereas I
wanted to say "now move down 5 cells".
Is there a way of getting the macro to include these commands - or
alternatively of editing the macro and adding them directly?

Thanks for any help
Les

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
How do I include a date input box in a macro? Project Mgr[_2_] Excel Discussion (Misc queries) 0 June 19th 08 04:21 PM
Record macro to include changes in dropdowns Graeme Excel Programming 4 March 9th 07 09:55 PM
include macros in another macro jnewl Excel Programming 2 March 13th 06 08:50 PM
Macro to include contents of cell Matt Excel Discussion (Misc queries) 1 November 15th 05 03:51 AM
AutoSum macro that doesn't include headings achidsey Excel Programming 2 September 4th 05 03:19 AM


All times are GMT +1. The time now is 04:10 PM.

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"