#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SAK SAK is offline
external usenet poster
 
Posts: 4
Default Worksheet tabs

I use Excel 2003. I have several worksheets with tabs for each day of the
month.
Is there a way to run a find and replace of the month on all the worksheets
in a workbook? (Example: the tab text is 01.dd.08. Goal -- replace all the 01
tabs text with 03 without clicking on and editing each tab individually.)
--
SAK
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Worksheet tabs

Run this little macro:

Sub tabfixer()
v = "03"
For Each w In Worksheets
n = w.Name
w.Name = v & Right(n, 6)
Next
End Sub

Next month just change the v= statement and run again
--
Gary''s Student - gsnu200771


"SAK" wrote:

I use Excel 2003. I have several worksheets with tabs for each day of the
month.
Is there a way to run a find and replace of the month on all the worksheets
in a workbook? (Example: the tab text is 01.dd.08. Goal -- replace all the 01
tabs text with 03 without clicking on and editing each tab individually.)
--
SAK

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 to name worksheet tabs using a cell within the worksheet? Jennifer Excel Discussion (Misc queries) 4 November 6th 12 05:03 PM
Can Excel worksheet tabs be relocated above the worksheet? BCWB Excel Discussion (Misc queries) 1 November 1st 06 09:14 PM
Worksheet Tabs BOXMAN Excel Discussion (Misc queries) 4 August 24th 06 01:42 AM
Worksheet Tabs TheJaxSun Excel Discussion (Misc queries) 5 December 4th 05 03:37 AM
Worksheet Tabs The Good Deeds Team Excel Discussion (Misc queries) 6 February 18th 05 09:59 PM


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