Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Problem with file links changing

Good day all. Excel 2007.
I have a number of workbooks in memory some having file links referencing a
data file also in memory.
I have code which firstly saves the current data file (constantly updating)
at month end run and then "Saves As" to another directory with a different
file name. It then closes the new file and re-opens the original so that
processing can continue for the new month. However, my problem is that all
files with links to the original data file have now changed to reference the
Saved As file!! e.g. VLookup and HLookup.
I have tried various avenues but cannot get the links to remain as refrence
to the current file.
If anyone can help with this problem it will be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 464
Default Problem with file links changing

Edit Links (on data tab) and Change Source.


--
Regards
Dave Hawley
www.ozgrid.com
"Wes_A" wrote in message
...
Good day all. Excel 2007.
I have a number of workbooks in memory some having file links referencing
a
data file also in memory.
I have code which firstly saves the current data file (constantly
updating)
at month end run and then "Saves As" to another directory with a different
file name. It then closes the new file and re-opens the original so that
processing can continue for the new month. However, my problem is that all
files with links to the original data file have now changed to reference
the
Saved As file!! e.g. VLookup and HLookup.
I have tried various avenues but cannot get the links to remain as
refrence
to the current file.
If anyone can help with this problem it will be greatly appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Problem with file links changing

Ok, is there any way to automate that so that the correct source is
maintained or updated?

"ozgrid.com" wrote:

Edit Links (on data tab) and Change Source.


--
Regards
Dave Hawley
www.ozgrid.com
"Wes_A" wrote in message
...
Good day all. Excel 2007.
I have a number of workbooks in memory some having file links referencing
a
data file also in memory.
I have code which firstly saves the current data file (constantly
updating)
at month end run and then "Saves As" to another directory with a different
file name. It then closes the new file and re-opens the original so that
processing can continue for the new month. However, my problem is that all
files with links to the original data file have now changed to reference
the
Saved As file!! e.g. VLookup and HLookup.
I have tried various avenues but cannot get the links to remain as
refrence
to the current file.
If anyone can help with this problem it will be greatly appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 464
Default Problem with file links changing

Not that I know of.


--
Regards
Dave Hawley
www.ozgrid.com
"Wes_A" wrote in message
...
Ok, is there any way to automate that so that the correct source is
maintained or updated?

"ozgrid.com" wrote:

Edit Links (on data tab) and Change Source.


--
Regards
Dave Hawley
www.ozgrid.com
"Wes_A" wrote in message
...
Good day all. Excel 2007.
I have a number of workbooks in memory some having file links
referencing
a
data file also in memory.
I have code which firstly saves the current data file (constantly
updating)
at month end run and then "Saves As" to another directory with a
different
file name. It then closes the new file and re-opens the original so
that
processing can continue for the new month. However, my problem is that
all
files with links to the original data file have now changed to
reference
the
Saved As file!! e.g. VLookup and HLookup.
I have tried various avenues but cannot get the links to remain as
refrence
to the current file.
If anyone can help with this problem it will be greatly appreciated.



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
Problem with links form a word file to excel graphs SavvasC Links and Linking in Excel 3 June 23rd 09 08:00 AM
Problem opening excel file with links Abdul Malik Excel Discussion (Misc queries) 1 October 20th 06 03:52 AM
Automatically Changing File Links Tom Hewitt Excel Discussion (Misc queries) 1 July 31st 06 04:54 PM
Edit Links: Changing links on a protected worksheet Halibut68 Excel Discussion (Misc queries) 0 April 28th 06 11:03 AM
Problem changing open file from R/0 to R/W Scampa7[_9_] Excel Programming 0 February 10th 04 03:38 PM


All times are GMT +1. The time now is 07:03 PM.

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"