Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default Create summary WB

I have a Dir with many SubDir. I want to open the file in each SubDir
which has been modified last and copy Sheet(1) to a summary WB. Rename
each new sheet in the summary WB with the first 6 characters of the
SubDir. In turn, close each WB, after it has been copied and the
summary sheet renamed without saving it. The final result will be a
summary WB with 1 sheet for each project. Your help is very much
appreciated. TIA

Greg

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Create summary WB

Some hints:

1. Use Scripting.FileSystemObject to recurse through your sub folders, to
enumerate and identify the last modified workbook in each.

2. Use Excel.Application to create your Summary workbook and to loop through
your list of workbooks from step 1.

3. Use Move (see help) to move Sheet(1) to the summary WB: take care not to
save the WB you are copying from.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default Create summary WB

I know the steps, but not the proper code to accomplish my intended
result.

Greg
AA2e72E wrote:
Some hints:

1. Use Scripting.FileSystemObject to recurse through your sub folders, to
enumerate and identify the last modified workbook in each.

2. Use Excel.Application to create your Summary workbook and to loop through
your list of workbooks from step 1.

3. Use Move (see help) to move Sheet(1) to the summary WB: take care not to
save the WB you are copying from.


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 summary record vcff Excel Discussion (Misc queries) 6 August 29th 08 03:14 AM
create a summary sheet Tia[_3_] Excel Worksheet Functions 2 July 25th 08 09:31 AM
How to Create a Summary of Workbook MGC Excel Discussion (Misc queries) 1 January 9th 08 08:31 AM
Create Summary WB GregR Excel Programming 2 April 25th 06 07:39 PM
Create Summary Sheet AliH Excel Programming 2 August 10th 05 09:02 AM


All times are GMT +1. The time now is 06:49 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"