Macro to Create Workbooks & Worksheets

C

Ciara

I have 2 seperate macro's.
Macro2 -creates a worksheet for each PCT
Macro1- creates a workbook for Health Authority.

I would like to combine the two, so that after extracting data needed
to create each workbook I use it as the datasource to create the pivot
table.

Macro 1 is based on the example-Create a new sheet for all Unique
values
Macro 2 is based on the example-Create a new workbook for each value
both on http://www.rondebruin.nl/copy5.htm#workbook

Is there are way to integrate the macros so that it a workbook is
created with macro 1 and then within this new workbook, worksheets are
created for each HA using macro 2? Also I wondered how I would going
about using a template to generate the workbooks.

TIA
 

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