Created
November 27, 2012 03:29
-
-
Save BenjaminGuV/4152190 to your computer and use it in GitHub Desktop.
Copiar masivamente una hoja de calculo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Macro2() | |
Dim x As Integer | |
x = InputBox("Enter number of times to copy Sheet1") | |
For numtimes = 1 To x | |
'Loop by using x as the index number to make x number copies. | |
'Replace "Sheet1" with the name of the sheet to be copied. | |
ActiveWorkbook.Sheets("1").Copy _ | |
After:=ActiveWorkbook.Sheets("1") | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment