Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Multi-Step Worksheet Export - HELP!

Hello -

I have a Workbook that contains Department level data (each dept has
it's own sheet), plus a number of 'helper' and consolidation sheets.
In addition, in accordance with table-driven macros, there's a sheet
(called 'ADMIN') that holds information related to the WHAT and TO
WHOM relationships. I'd like to have a macro that will, from this one
main workbook, create a series of sub-workbooks.

The ADMIN table contains two simple pieces of information:
[** data starts in row 2, with headers above]

Column A: sheet name (a 4-digit #, eg 1234)
Column B: Manager Name

Column A values DO NOT repeat ... column B values may repeat (ie, a
manager has multiple depts).

The macro should complete the following steps:
1) create 2 folders in the ActiveWorkbook.Path -- 'Depts' and
'Managers'
2) separate workbooks are created for each sheet in col A (named as
sheetname)
3) saved to 'Depts' folder
4) separate WB created for each manager, containing their depts (same
sheetnames)
5) saved to 'Managers' folder

Original workbook (containing all sheets) should remain intact (ie, no
changes) -- sub-workbooks should be values only (no links, formulas,
etc.)

Can you help create this macro? or at least help me get started??

Thanks very much for ANY help you can provide!

Rgds, Ray

  #2   Report Post  
Posted to microsoft.public.excel.programming
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Multi-Step Worksheet Export - HELP!

Hello -

Does anyone have any ideas on my situation below?

Thanks, ray


On Jan 19, 11:01*am, Ray wrote:
Hello -

I have a Workbook that contains Department level data (each dept has
it's own sheet), plus a number of 'helper' and consolidation sheets.
In addition, in accordance with table-driven macros, there's a sheet
(called 'ADMIN') that holds information related to the WHAT and TO
WHOM relationships. *I'd like to have a macro that will, from this one
main workbook, create a series of sub-workbooks.

The ADMIN table contains two simple pieces of information:
[** data starts in row 2, with headers above]

Column A: *sheet name (a 4-digit #, eg 1234)
Column B: *Manager Name

Column A values DO NOT repeat ... column B values may repeat (ie, a
manager has multiple depts).

The macro should complete the following steps:
1) *create 2 folders in the ActiveWorkbook.Path -- 'Depts' and
'Managers'
2) *separate workbooks are created for each sheet in col A (named as
sheetname)
3) *saved to 'Depts' folder
4) *separate WB created for each manager, containing their depts (same
sheetnames)
5) *saved to 'Managers' folder

Original workbook (containing all sheets) should remain intact (ie, no
changes) -- sub-workbooks should be values only (no links, formulas,
etc.)

Can you help create this macro? *or at least help me get started??

Thanks very much for ANY help you can provide!

Rgds, Ray


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Multi-Step Worksheet Export - HELP!

Start here for ideas.

http://www.rondebruin.nl/tips.htm

"Ray" wrote:

Hello -

Does anyone have any ideas on my situation below?

Thanks, ray


On Jan 19, 11:01 am, Ray wrote:
Hello -

I have a Workbook that contains Department level data (each dept has
it's own sheet), plus a number of 'helper' and consolidation sheets.
In addition, in accordance with table-driven macros, there's a sheet
(called 'ADMIN') that holds information related to the WHAT and TO
WHOM relationships. I'd like to have a macro that will, from this one
main workbook, create a series of sub-workbooks.

The ADMIN table contains two simple pieces of information:
[** data starts in row 2, with headers above]

Column A: sheet name (a 4-digit #, eg 1234)
Column B: Manager Name

Column A values DO NOT repeat ... column B values may repeat (ie, a
manager has multiple depts).

The macro should complete the following steps:
1) create 2 folders in the ActiveWorkbook.Path -- 'Depts' and
'Managers'
2) separate workbooks are created for each sheet in col A (named as
sheetname)
3) saved to 'Depts' folder
4) separate WB created for each manager, containing their depts (same
sheetnames)
5) saved to 'Managers' folder

Original workbook (containing all sheets) should remain intact (ie, no
changes) -- sub-workbooks should be values only (no links, formulas,
etc.)

Can you help create this macro? or at least help me get started??

Thanks very much for ANY help you can provide!

Rgds, Ray


.

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
Creating a Drop Down List with Step by Step Instructions for 2007 remarkable Excel Worksheet Functions 2 March 22nd 09 04:36 AM
Export contents of multi-column listbox LaDdIe Excel Programming 4 February 16th 09 10:00 PM
Need step by step to add invoice numbering to excel template rmt New Users to Excel 4 July 6th 08 11:45 PM
What is the step-by-step procedure for making a data list? Bobgolfs56 Excel Discussion (Misc queries) 1 April 23rd 05 02:19 PM
I need step by step instructions to create a macro for 10 imbedde. diana Excel Worksheet Functions 3 January 31st 05 01:56 AM


All times are GMT +1. The time now is 01:57 AM.

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

About Us

"It's about Microsoft Excel"