Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 45
Default Command Button to make multiple duplicate worksheets

HI! I have created a workbook with 10 worksheets and on sheets (1,2,10,4 and
6) and have put a Command Button with this Code:

Private Sub CommandButton1_Click()
Worksheets("Extra Earned Income Methd 1").Visible = True
Sheets("Extra Earned Income Methd 1").Select

Worksheets("Extra Earned Income Methd 1").Visible = True
Worksheets("family totals").Range("A5").EntireRow.Hidden = False
End Sub

This works great to duplicate just one time per sheet, but is there a way to
have it work where users can click the command Button any number of times to
generate numerous multiple duplicate worksheets and still have the 2nd part
of my code work where the extra row is inserted in the the worksheet titled
"Family Totals"?

Any help would be greatly appreciated!!

~Roxy
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Ms Excel more Excel with Command Button and progress b immu Excel Discussion (Misc queries) 2 January 6th 07 09:14 AM
Duplicate entries in multiple worksheets m96 Excel Worksheet Functions 0 July 4th 06 12:40 PM
Create command button to print multiple worksheets in a excel file MarcoR Excel Discussion (Misc queries) 3 June 26th 06 07:07 PM
How do I make changes tonumersous duplicate worksheets witout havi mlofton Excel Discussion (Misc queries) 5 September 7th 05 01:37 AM
Can you delete multiple worksheets with one command? pebel Excel Worksheet Functions 2 March 18th 05 01:58 AM


All times are GMT +1. The time now is 01:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"