I need to rename a worksheet to a long string of numbers and text which is really tedious to type. Pasting does not seem to work.
Is there a way to make this happen, perhaps with VBA?
I need to rename a worksheet to a long string of numbers and text which is really tedious to type. Pasting does not seem to work.
Is there a way to make this happen, perhaps with VBA?
Select the cell with the long string of numbers and in the formula bar select the numbers and copy. Then right click on the worksheet tab, click on Rename and Paste. Hit enter and the worksheet will be renamed to the number.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
A worksheet name can't be longer than 31 characters - are you trying to paste something longer than that?
Regards,
Aardigspook
I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
You don't need to give me rep if I helped, but a thank-you is nice.
You can try this:
ActiveSheet.Name=Range("cell that contains long string of number").Value
If I've helped U pls click on d *Add Reputation
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks