adding sheets based upon a template sheet

  • Thread starter dennis.mccarthy
  • Start date
D

dennis.mccarthy

I am building a worksheet where I want to be able to create a number
of copies of an existing sheet. The purpose of this is to create a
detailed budget by station of a project. The project could have 1-20
stations. I want to start a macro that will copy the 'budgetsheet" a
number of times onto different worksheets within the workbook.

Example: Project A has 5 stations
copy the budgetsheet 5 times with in the workbook on seperate tabs

Hope this makes sense....

Thanks

Dennis

Email: (e-mail address removed)
 
P

Pogue

The trick here is to let Excel code the macro for you. Just click
Tools-Macro-Record New Macro. Then, select the template sheet. Edit - Move
or Copy Sheets - check Create a copy - OK.

Then, stop recording and look at the code Microsoft has written and adjust
as needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top