Find and replace in tabs

MonsieurExcel

New Member
Joined
Oct 27, 2011
Messages
13
Hi everyone,

Does anyone know of a way to find and replace inside tabs?

I have 20 tabs with Oct on them and need to replace them with Nov. I am very lazy!

Thanks a lot
 
Last edited:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Welcome to the Forum.

What do you mean by Tabs, the sheet names or cells in the Worksheets?

If cells within the worksheets you can use Find Replace (Ctrl + H), Place in Oct and Replace with Nov
 
Upvote 0
Apologies, first post and all that!

No, it's the individual sheet names.

I suppose a better way of putting it is there a way to do the equivalent of CTRL+H on the tabs.
 
Upvote 0
Can you give an example of 2 sheet names ie do they show something like

1st Oct 2011 or 01 Oct 2011
 
Upvote 0
They relate to our customers in work and go along the lines of this:

Tab 1: James Oct 11
Tab 2: John Oct 11
Tab 3: Jake Oct 11

and so on for dozens of tabs.

Thanks!
 
Upvote 0
Try this then.

<font face=Courier New><SPAN style="color:#00007F">Sub</SPAN> changeMonth()<br><SPAN style="color:#00007F">Dim</SPAN> wsh <SPAN style="color:#00007F">As</SPAN> Worksheet<br><SPAN style="color:#00007F">For</SPAN> <SPAN style="color:#00007F">Each</SPAN> wsh <SPAN style="color:#00007F">In</SPAN> Worksheets<br>wsh.Activate<br>wsh.Name = Replace(wsh.Name, "Oct", "Nov")<br><SPAN style="color:#00007F">Next</SPAN> wsh<br><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>
 
Upvote 0
Happy to help, please to read you have a solution.

Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,493
Messages
6,172,610
Members
452,466
Latest member
Lynlindsay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top