Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Macro to Create Workbooks & Worksheets

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

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
create a macro that compares two workbooks blopreste3180 Excel Discussion (Misc queries) 2 September 5th 07 05:26 PM
can't create excel add-in macro to use with other workbooks icccapital Excel Programming 1 February 21st 07 05:31 PM
Macro to create workbooks and pivot tables Ciara Excel Programming 2 September 19th 06 10:20 AM
Auto Create workbooks and worksheets per columnar data Rookie_User Excel Programming 7 July 31st 06 09:25 PM
Create workbooks from worksheets Ian in Ankara Excel Discussion (Misc queries) 3 February 28th 06 03:33 PM


All times are GMT +1. The time now is 09:44 AM.

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"