ashokpandian
New Member
- Joined
- Jan 13, 2016
- Messages
- 4
Hi All,
I am trying to create a DOCU Tracker , in my tracker there are 3 sheets , sheet 2 is a registration sheet , once it was filled by the user the form in the sheet 3 should be generated as new excel file or new sheet in the same excel file. I am using the below script it helps me to create a new copy sheet of sheet 3 , but it force me to save the file again as a new file.
Sub Copier()
Dim x As Integer
x = InputBox("Enter number of times to copy Sheet1")
For numtimes = 1 To x
ActiveWorkbook.Sheets("CAPA Form").Copy _
After:=ActiveWorkbook.Sheets("CAPA Form")
Next
End Sub
Please help me to resolve the issue
I am trying to create a DOCU Tracker , in my tracker there are 3 sheets , sheet 2 is a registration sheet , once it was filled by the user the form in the sheet 3 should be generated as new excel file or new sheet in the same excel file. I am using the below script it helps me to create a new copy sheet of sheet 3 , but it force me to save the file again as a new file.
Sub Copier()
Dim x As Integer
x = InputBox("Enter number of times to copy Sheet1")
For numtimes = 1 To x
ActiveWorkbook.Sheets("CAPA Form").Copy _
After:=ActiveWorkbook.Sheets("CAPA Form")
Next
End Sub
Please help me to resolve the issue