Looking to have a masterworkbook that when I go to a job, i can add sheets and rename them as I go since all sites name gear different. I have a set of template sheets hidden within the wookbook that I draw from, but I was hoping to have a userform with a simple text box pop up, type in the new sheet name I want, and hit "Okay" or something along those lines.
Just unsure how/if I'm able to make activesheet.name = "textbox value from userform"
Thanks in advance!
Code:
Sub New_Switch_Sheet()
Sheets("SWCH_TEMP").Visible = True
Sheets("SWCH_TEMP").Copy After:=Sheets("SWCH_TEMP")
Sheets("SWCH_TEMP").Visible = Flase
UserForm1.Show
End Sub
Just unsure how/if I'm able to make activesheet.name = "textbox value from userform"
Thanks in advance!
Last edited: