Skip to content

Instantly share code, notes, and snippets.

@BenjaminGuV
Created November 27, 2012 03:29
Show Gist options
  • Save BenjaminGuV/4152190 to your computer and use it in GitHub Desktop.
Save BenjaminGuV/4152190 to your computer and use it in GitHub Desktop.
Copiar masivamente una hoja de calculo
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