#1   Report Post  
Posted to microsoft.public.excel.programming
hh hh is offline
external usenet poster
 
Posts: 2
Default Macro

how do i record new macro so that when i run it, it
starts from the selected cell and not revert back to the
cells that i recorded it in?
thanks, desperate!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Macro

When you're recording the macro, you'll see two icons on that "stop recording"
toolbar.

The second one is "relative reference". Click it and see if that does what you
want.

Or maybe you could just examine the existing recorded code and start using
ActiveCell instead of the original's address.

You may want to post back if you have trouble. There might even be ways of not
selecting anything at all.

(Usually the code is easier to follow and runs a little quicker, too.)

hh wrote:

how do i record new macro so that when i run it, it
starts from the selected cell and not revert back to the
cells that i recorded it in?
thanks, desperate!


--

Dave Peterson

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
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 1 June 11th 05 12:44 AM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


All times are GMT +1. The time now is 01:26 AM.

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

About Us

"It's about Microsoft Excel"