So far I have this to create sheets:
So when I run that it lets me decide how many copies of the "Default" sheet I want. However I would like to also have the option to name those sheets I create with a date for each new sheet made (Nov 17 2017) or (111717) using a starting date of my choosing and having each sheet advance 1 day with the new name. (Nov 17 2017), (Nov 18 2017),.......
Also what I have now, if I cancel it, it errors out.
Thank you in advance if anyone can help.
Code:
Sub SheetCopier()
Dim x As Integer
x = InputBox("Enter number of times to copy default sheet")
For numtimes = 1 To x
'Loop by using x as the index number to make x number copies.
ActiveWorkbook.Sheets("Default").Copy _
Before:=ActiveWorkbook.Sheets("Default")
'Put copies in Before Default Sheet.
Next
End Sub
So when I run that it lets me decide how many copies of the "Default" sheet I want. However I would like to also have the option to name those sheets I create with a date for each new sheet made (Nov 17 2017) or (111717) using a starting date of my choosing and having each sheet advance 1 day with the new name. (Nov 17 2017), (Nov 18 2017),.......
Also what I have now, if I cancel it, it errors out.
Thank you in advance if anyone can help.