Is it possible to name a worksheet tab from a cell reference on a worksheet?
Is it possible to name a worksheet tab from a cell reference on a worksheet?
Assuming A1 has the name, try this macro in module:
Sub worksheetrename()
ActiveSheet.Name = Range("A1")
End Sub
see if link helps
http://www.mcgimpsey.com/excel/event...efromcell.html
VBA Noob
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
c_m,
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
VBA Noob
Hi
I set up a module - ActiveSheet.Name = Range("A1") but it relates to a single worksheet. How do i use the same Module for every worksheet without recreating a module for every sheet?
Thanks
Thanks for that
As i cannot edit first post please can someone mark it solved
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks