Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro changes sheet location

I have recorded a revaltively simple macro that, mostly copies and pastes
some data. After the Macro runs, the worksheet jump to a different location
in the worksheet than where my Macro Button is located.

Is there a way to tell the Macro to return to my original location or is
there a way to configure the wroksheet so that it does not jump to the other
location.

Thank you very much for any assistance.

Alan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default macro changes sheet location

Change A1 to what you want
Range("A1").Select

"alanmart" wrote:

I have recorded a revaltively simple macro that, mostly copies and pastes
some data. After the Macro runs, the worksheet jump to a different location
in the worksheet than where my Macro Button is located.

Is there a way to tell the Macro to return to my original location or is
there a way to configure the wroksheet so that it does not jump to the other
location.

Thank you very much for any assistance.

Alan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default macro changes sheet location

Post your code... Since you recorded the macro it will be full of select and
activate statements which you do not need. We can help you to clean it up...
--
HTH...

Jim Thomlinson


"alanmart" wrote:

I have recorded a revaltively simple macro that, mostly copies and pastes
some data. After the Macro runs, the worksheet jump to a different location
in the worksheet than where my Macro Button is located.

Is there a way to tell the Macro to return to my original location or is
there a way to configure the wroksheet so that it does not jump to the other
location.

Thank you very much for any assistance.

Alan

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
Lock location of sheet within a spreadsheet PJ Excel Discussion (Misc queries) 4 December 4th 09 07:07 PM
location bar display in excel sheet location bar Excel Discussion (Misc queries) 0 October 31st 08 10:13 AM
Macro - save to current location vs excel default location leezard Excel Discussion (Misc queries) 0 October 28th 08 03:04 PM
Jumping to a location in an excel sheet. Griff Excel Programming 7 May 4th 06 07:05 PM
saving w/sheet to different location Nigel[_21_] Excel Programming 7 October 8th 05 12:17 PM


All times are GMT +1. The time now is 12:01 PM.

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"