Sub Copy_Sheet_Master()
'Modified 11/24/2021 10:50:12 PM EST
Application.ScreenUpdating = False
Dim i As Long
For i = 1 To 20
Sheets("Master").Copy After:=Sheets(Sheets.Count): ActiveSheet.Name = "Master" & i
Next
Application.ScreenUpdating = True
End Sub
Thank you so much. In where i have to put this code? If i put it in Immediate window , will it work? Actually i am not usual with VBA code.Try this:
This script assumes we are making 20 copies of a sheet named "Master"
Modify to your needs.
VBA Code:Sub Copy_Sheet_Master() 'Modified 11/24/2021 10:50:12 PM EST Application.ScreenUpdating = False Dim i As Long For i = 1 To 20 Sheets("Master").Copy After:=Sheets(Sheets.Count): ActiveSheet.Name = "Master" & i Next Application.ScreenUpdating = True End Sub
'Modified 11/24/2021 10:50:12 PM EST
Application.ScreenUpdating = False
Dim i As Long
For i = 1 To 20
Sheets("Master").Copy After:=Sheets(Sheets.Count): ActiveSheet.Name = "Master" & i
Next
Application.ScreenUpdating = True