LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 324
Default Automatic naming Worksheet tabs

If you keep the sheets always in the same order from left to right, you can
use this:
Sheets(1).activate ' the first sheet on the left
Sheets(4).activate ' the fourth from the left

It works for any sheet that is visible at the time. If you have hidden
sheets, it would be a good idea to have them at the right end when visible so
the sheet counting will remain accurate.

Best wishes,

Jim

"rhani111" wrote:


Hi All,

Here is a curly one....I have the automatic worksheets being renamed by
a vba code. The problem I'm having is there is a macro button to hide
and unhide these same sheets. Once the names have been changed, the
sheets won't open for THAT exact reason, the macro can no longer find
the sheet names.

Is there any way around this so I can have my cake AND eat it too????

Thanx
Sandi


--
rhani111
------------------------------------------------------------------------
rhani111's Profile: http://www.excelforum.com/member.php...o&userid=19940
View this thread: http://www.excelforum.com/showthread...hreadid=555491


 
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
naming worksheet tabs SHARON Excel Discussion (Misc queries) 1 May 27th 10 11:27 PM
naming worksheet tabs SHARON Excel Discussion (Misc queries) 0 May 27th 10 09:16 PM
Naming Worksheet Tabs? Scoober Excel Worksheet Functions 18 August 12th 09 02:47 AM
Naming Worksheet tabs Scott@CW Excel Discussion (Misc queries) 11 August 2nd 07 08:36 AM
Automatic naming Worksheet tabs rhani111[_8_] Excel Programming 4 June 26th 06 10:37 AM


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