Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default macro question

Just to add to GS and Gord's responses...

If you use worksheets(1), then you're using the leftmost sheet. You can change
the name and it'll still work. But if you change the position, then the code
may work--but it may not do what you want to the correct sheet!

Oligo wrote:

if my macro on sheet 2 has a formula reference with sheet 1 cell, when i
change the name of sheet 1, will the macro work and change itself
accordingly???


--

Dave Peterson


 
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 question orquidea Excel Worksheet Functions 10 February 6th 08 05:44 PM
Macro Question carl Excel Worksheet Functions 0 May 10th 07 03:29 PM
Macro Question carl Excel Worksheet Functions 0 June 8th 06 03:37 PM
Macro Question carl Excel Worksheet Functions 1 August 3rd 05 07:56 PM
Macro Question? Greg B Excel Discussion (Misc queries) 7 March 9th 05 01:08 PM


All times are GMT +1. The time now is 04:40 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"