Hello,
I have a userform that creates and names a new worksheet when I click the Save button. Once the save button is entered I need another userform to activate (UserForm2) AND make the newly created worksheet activate so that the info on UserForm2 is transcribed to the new worksheet.
Userform Save button
Drop.Value is text, example "abc", "def", etc...
StartDate.Value & StartTime.Value is a user inputted date/time
I have a userform that creates and names a new worksheet when I click the Save button. Once the save button is entered I need another userform to activate (UserForm2) AND make the newly created worksheet activate so that the info on UserForm2 is transcribed to the new worksheet.
Userform Save button
Code:
'Creates a new worksheet
Sheets.Add After:=Sheets(Sheets.Count)
'Renames the new worksheet
Sheets(Sheets.Count).Name = Drop.Value & " " & StartDate.Value & " " & StartTime.Value
Unload UserForm1
Drop.Value is text, example "abc", "def", etc...
StartDate.Value & StartTime.Value is a user inputted date/time