Archive linked workbooks with links intact

Lampshade54321

New Member
Joined
Nov 21, 2009
Messages
2
This issue relates to automating with VBA code the archiving of upto 40 linked workbooks whilst maintaining the integrity of the workbook links.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
I manage a large project and have six cell teams reporting progress schedules and financial information to me each month with excel workbooks. I take all of the cell teams workbooks and analyse the data they report.<o:p></o:p>
<o:p></o:p>
I have set-up a folder system on our network that has a similar structure for each Cell Team and the workbooks they use are similarly named but are identified by the Cell Team's prefix CT1, CT2 etc. <o:p></o:p>
<o:p></o:p>
The excel workbooks are called MASTER and are being updated with information on a daily basis but at the end of every month I have to create a month end snap-shot (a set of linked workbooks in a stable condition no external references outside of the archive folder). A copy of each Cell Team's workbooks is made in a single folder called R1 (for month 1) and given a Report number prefix R1 (month 1).<o:p></o:p>
<o:p></o:p>
Now the time consuming part of the exercise is to open up each workbook >edit links>change source and re-assign the link to the equivalent archived workbook.<o:p></o:p>
<o:p></o:p>
In other words:<o:p></o:p>
Master Files for CT1 are in the folders:<o:p></o:p>
X:\CT1\Progress\CT1-ProgressSchedule-MASTER.xls<o:p></o:p>
And links to<o:p></o:p>
X:\CT1\Milestones\CT1-Milestones-MASTER.xls<o:p></o:p>
and<o:p></o:p>
X:\CT1\ProgressClaims\CT1-PCs-MASTER.xls<o:p></o:p>
<o:p></o:p>
Similarly CT2's Master files will be in the folders:<o:p></o:p>
<o:p></o:p>
X:\CT2\Progress\CT2-ProgressSchedule-MASTER.xls<o:p></o:p>
links to<o:p></o:p>
X:\CT2\Milestones\CT2-Milestones-MASTER.xls<o:p></o:p>
etc.<o:p></o:p>
<o:p></o:p>
At the end of a month the files will be saved and links changed thus:<o:p></o:p>
<o:p></o:p>
X:\R1\R1-CT1-ProgressSchedule-MASTER.xls<o:p></o:p>
links to<o:p></o:p>
X:\R1\R1-CT1-Milestones-MASTER.xls<o:p></o:p>
and<o:p></o:p>
X:\R1\R1-CT1-PCs-MASTER.xls<o:p></o:p>
<o:p></o:p>
Similarly for CT2<o:p></o:p>
X:\R1\R1-CT2-ProgressSchedule-MASTER.xls<o:p></o:p>
links to<o:p></o:p>
X:\R1\R1-CT2-Milestones-MASTER.xls<o:p></o:p>
and<o:p></o:p>
X:\R1\R1-CT2-PCs-MASTER.xls<o:p></o:p>
<o:p></o:p>
Has anyone solved this sort of problem before? <o:p></o:p>
And, do you have any suggestions for VBA code?<o:p></o:p>
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top