Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default change link path when open destination file

Hi,
the destination file is used by different party. we email each other the
destination file to update data where each party has its own source file.

my source files are at 'z:\shared\excel' but when i open the destination
file, the path is defaulted to 'c:\calc\checking\data'. there are many cells
with link to source files. i have worksheet link to several sources file at z
drive.
may i know how to change the path to the path i want when i open the
destination file? currently i use find and replace. it is very tedious and
manual.

need advice.
thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default change link path when open destination file

I believe it would be something like this:
Dim MyPath As String
MyPath = ActiveWorkbook.Path & "\" & ActiveWorkbook.Name
ActiveCell.Value = MyPath

See here for details:
http://www.excelforum.com/excel-prog...book-path.html

Good luck,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"AskExcel" wrote:

Hi,
the destination file is used by different party. we email each other the
destination file to update data where each party has its own source file.

my source files are at 'z:\shared\excel' but when i open the destination
file, the path is defaulted to 'c:\calc\checking\data'. there are many cells
with link to source files. i have worksheet link to several sources file at z
drive.
may i know how to change the path to the path i want when i open the
destination file? currently i use find and replace. it is very tedious and
manual.

need advice.
thanks


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
how do i lock the external file (link) path so that it does not ch Setagaya Japan Excel Discussion (Misc queries) 0 February 9th 09 05:47 AM
how do i lock the external file (link) path so that it does not ch Setagaya Japan[_2_] Excel Discussion (Misc queries) 0 February 9th 09 05:47 AM
Using UNC path instead of URL to link cell to PDF file Francisco Excel Worksheet Functions 2 May 24th 07 10:30 PM
File path of external link changed ramram49 Links and Linking in Excel 1 November 2nd 06 07:03 AM
How do you change the destination of "print to file" in excel xp? Dave Excel Discussion (Misc queries) 1 April 13th 05 02:55 PM


All times are GMT +1. The time now is 06:43 AM.

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"