Copying sheets

  • Thread starter Thread starter John Young
  • Start date Start date
J

John Young

How do I copy a sheet so that it also copies any buttons/event handlers/vba
code that is associated with that sheet?

TIA

John
 
John, Have you learned how to use the macro recorder?
I just recorded this. It can be shortened by eliminating the 1st line
entirely.

Sub Macro2()
Sheets("Sheet1").Select
Sheets("Sheet1").Copy After:=Sheets(5)
End Sub
 
LOL, I always forget about the macro recorder... Thanks for refreshing my
memory..

John
 
Back
Top