M MJ Feb 18, 2009 #1 I want to copy the same worksheet 30 times in one workbook. Is that possible without doing the copy worksheet 30 times?
I want to copy the same worksheet 30 times in one workbook. Is that possible without doing the copy worksheet 30 times?
B Bob I Feb 18, 2009 #2 copy once, group the two, copy them, group the 4, copy them..................
E eksh Feb 19, 2009 #3 Hi MJ, If you need the function very frequently, you may use the following code Sub MacroCopyWS() Answer = InputBox("How many worksheets you want to duplicate?", "Copy worksheet", 30) For i = 1 To Answer ActiveSheet.Copy Before:=Sheets(1) Next i End Sub
Hi MJ, If you need the function very frequently, you may use the following code Sub MacroCopyWS() Answer = InputBox("How many worksheets you want to duplicate?", "Copy worksheet", 30) For i = 1 To Answer ActiveSheet.Copy Before:=Sheets(1) Next i End Sub