Best way to Link Workbooks

HunterN

Active Member
Joined
Mar 19, 2002
Messages
479
Hi All You Excel People,

Here is an example of my Master Workbook:
Most is column headings, the two numbers go under Project Number, I can have many projects. (It doesnt look good when I submit it!)

FY 2002 CUMULATIVE COST ANALYSIS
MONTH BRANCH BRANCH PROJECT PROJECT
NUMBER CHIEF NAME NUMBER
--------------------------------------------- 7501 0251
"

I can go in and enter the Project Number in each row using another worksheet that holds the project numbers. There is also seperate workbooks for each Project that contains the other information that I need (plus more).
I need a way to move down the worksheet thru the Project Number column and use this
Project Number to open its appropriate workbook and retrieve the values from the Wkb
and enter them in the cells then move down to the next Project.


Has anyone done anything similar to this?

Your help would be appreciated. Thanks
This message was edited by HunterN on 2002-04-23 07:21
 
I don't have a problem having to open each workbook as I go down to a new row!
What I really want is to dynamically change the formula as I go.

Throughout the masterworkbook, currently it contains the formula:
='C:My Project
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi
Don't really understand, but I took a shot...

Sub InsertFormula()
Dim newProj As String
newProj = "='C:My ProjectFilename.xls'!project_name"
Range("C1") = newProj
End Sub

Tom
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

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