ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Update Links to current Directory?? (https://www.excelbanter.com/excel-discussion-misc-queries/32570-update-links-current-directory.html)

Pulcue

Update Links to current Directory??
 

I have a set of 6 workbooks all in a single directory. Each of the
workbooks are linked, pulling data from other workbooks.

When I copy the entire directory to a new location(folder), the links
still try to go to the older folder. Here is an example formula:

The current folder is "folder1"
=VLOOKUP(A2,'C:\folder1\[Roster.xls]Sheet1'!$A$1:$E$10,2)

If I move to "folder2", the formula still points to "folder1"

Is there a way to edit the formulas to reference the current folder?

Thanks for your help
- Pulcue


--
Pulcue
------------------------------------------------------------------------
Pulcue's Profile: http://www.excelforum.com/member.php...o&userid=24654
View this thread: http://www.excelforum.com/showthread...hreadid=382368


Dave Peterson

How about using Edit|Links?

There's an option to change the source.

Pulcue wrote:

I have a set of 6 workbooks all in a single directory. Each of the
workbooks are linked, pulling data from other workbooks.

When I copy the entire directory to a new location(folder), the links
still try to go to the older folder. Here is an example formula:

The current folder is "folder1"
=VLOOKUP(A2,'C:\folder1\[Roster.xls]Sheet1'!$A$1:$E$10,2)

If I move to "folder2", the formula still points to "folder1"

Is there a way to edit the formulas to reference the current folder?

Thanks for your help
- Pulcue

--
Pulcue
------------------------------------------------------------------------
Pulcue's Profile: http://www.excelforum.com/member.php...o&userid=24654
View this thread: http://www.excelforum.com/showthread...hreadid=382368


--

Dave Peterson


All times are GMT +1. The time now is 05:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com