LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Parsing Month WorkSheet (one row/Project) into Folder & SubFolders by Project

I Need to parse an existing Current Month Worksheet (which data is one
row per project)
into
an External Folder of existing Subfolders by Project (One Subfolder by
Project) and
existing Workbooks by Month.
..
Pseudo code
Loop thru each row of the Current Month Worksheet
Read ProjectID in Current Month WorkSheet
Find ProjectID in external Folder named Projects, Drive F
Open SubFolder for ProjectID
Read Period in Current Month WorkSheet
Find Period Workbook in SubFolder ProjectID
Copy this previous Period Workbook as New Period workbook
i.e. Copy 2011 07 Report.xls to 2011 08 Report.xls and save
Overwrite New Period Workbook with Current Month Project Data
Next ProjectID
..
Sample Data :
Current Month WorkSheet
Period ProjectID Date Field1 Field2
2011 08 Report ProjX 8/31/2011 400 600
2011 08 Report ProjY 8/31/2011 200 800
..
External folder : Projects
Subfolder Name : ProjX
Workbooks Name : 2011 07 Report.xls
Date Field1 Field2 Field3
7/31/2011 300 500 ......
Workbooks Name : 2011 08 Report.xls
Date Field1 Field2 Field3
8/31/2011 400 600 ......
Subfolder Name : ProjY
Workbooks Name : 2011 07 Report.xls
Date Field1 Field2 Field3
7/31/2011 100 200 .....
Workbooks Name : 2011 08 Report.xls
Date Field1 Field2 Field3
7/31/2011 700 800 ......

Help appreciated, as I need to re-familiarize myself with data
exchange between folders.
J.P.
 
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
Removing a VBA Project from the Project Folder William Wolfe Excel Programming 2 June 5th 09 10:08 PM
Removing a VBA Project from the Project Folder William Wolfe Excel Programming 0 June 5th 09 05:34 PM
macro is not saved in project but in a project.txt version Janis Excel Programming 3 September 3rd 06 12:08 AM
With VBA from Excel: Open Project, extract resource list and copy it to a worksheet, close project. Tony Excel Programming 1 October 18th 05 03:53 PM
Assigning the Help 4, *.HLP file for a project programmatically in a protected Project Tony Seiscons Excel Programming 0 October 4th 04 03:10 PM


All times are GMT +1. The time now is 06:26 PM.

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"