View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected][_2_] haas786@yahoo.com[_2_] is offline
external usenet poster
 
Posts: 53
Default Changing Worksheet Names via VBA

Hey all,

Is there a way to change the name of the worksheet via VBA code? I
could do it using a recorded macro, but the extra step I need is to
automate the name change. In cell A6 I have a name which I'd like to
use as the name for the sheet. So, when a macro runs, in addition to
all the tasks it's supposed to perform, it will rename the sheet with
whatever value is in cell A6.

Thanks for yourhelp in advance!