Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default References remembered

Hi all,

I have the following problem: I'm have a set of workbooks (office 2003)
and an XLA in a folder. The workbooks contain a reference to the XLA. I
copy this folder to a new location. The reference to the XLA is still
the one in the original folder and not the XLA in the new folder, too
bad, because this is what I want.

So, from VBA code in the workbook_open event I remove the reference and
add a new reference specifying the path to the XLA in the new folder.
But still, when I check the reference it is once again to the XLA in
the original folder!

anybody an idea how to get it to the XLA in the copied folder?

Regards, Sam

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default References remembered

open the workook with the reference, open the xla, save the xla to th enew
folder, save and close the workbook

" wrote:

Hi all,

I have the following problem: I'm have a set of workbooks (office 2003)
and an XLA in a folder. The workbooks contain a reference to the XLA. I
copy this folder to a new location. The reference to the XLA is still
the one in the original folder and not the XLA in the new folder, too
bad, because this is what I want.

So, from VBA code in the workbook_open event I remove the reference and
add a new reference specifying the path to the XLA in the new folder.
But still, when I check the reference it is once again to the XLA in
the original folder!

anybody an idea how to get it to the XLA in the copied folder?

Regards, Sam


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default References remembered

I did what you proposed, but from the VBA editor I can't save the xla
to a new folder? And I'm actualy looking for an automated solution from
a VBA macro or VB6 program.

so here's the problem again:

I have 2 directories (dir1 and dir2) next to each other.
Dir1 contains an xls file
Dir2 contains an xla file

xls refers to xla

when I copy both dirs to another location on my harddrive then the
copied xls refers to the copied xla. This was the case in Office 2000.
Recently I changed to Office 2003. If I now copy both dirs to another
location on my harddrive then the copied xls refers to the original xla
instead of the copied one.

Anyone know what Office2003 does differently than Office 2000 realted
to handling references?

regards, Sam

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
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
Chart type not remembered in a pivot chart Devo Clubber Charts and Charting in Excel 1 June 30th 06 05:33 AM
Printing ranges not remembered Shelagh Excel Discussion (Misc queries) 0 January 20th 06 09:42 AM
References remembered [email protected] Excel Programming 0 August 10th 05 01:10 PM
Why is my Excel spreadsheet's sorting not being remembered? LisaSellsBabyCloths Excel Discussion (Misc queries) 0 July 2nd 05 09:29 PM


All times are GMT +1. The time now is 04:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"