Hi
I've used DataPig to pass out the data on multiple tabs and their names all end with "-". I want to make it away. Could anyone tell me what is the fastest way to remove it from the multiple worksheets's name? Thanks.
Hi
I've used DataPig to pass out the data on multiple tabs and their names all end with "-". I want to make it away. Could anyone tell me what is the fastest way to remove it from the multiple worksheets's name? Thanks.
Last edited by alexxgalaxy; 09-21-2011 at 10:20 PM.
If there are no "-"s that you want anywhere in any worksheet,
Ctrl + F
Find and replace
Look for -
Replace with (null)
By null, I mean the absence of anything in the replace with field... not the value/text Null itself.
Find all.... Bam, a billion replacements, and no more "-"s
Going for Guru! Click the Star to the bottom left of this post if I helped!
Last edited by alexxgalaxy; 09-20-2011 at 06:35 PM.
Try this:
Note: this code will replace all "-" in the sheet name...
Please Login or Register to view this content.
It worked perfectly. Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks