Linking Workbooks

JamesPW

Board Regular
Joined
Nov 4, 2005
Messages
52
Office Version
  1. 2019
Platform
  1. MacOS
Apologies if this is a duplicate

I have one workbook getting data from another- FileB (destination) imports data from FileA (source). Both files are in the same folder. This works fine EXCEPT when I make a copy of FileA using Save As to a different folder with a new Filename. Save As to NewFolder with NewFilename done by VBA.

FileA (source) Path:My Excel:FileA.xlsm
FileB (destination) Path:My Excel:FileB.xlsm
Copy of FileA is saved to Path:My Excel:Backups:FileA 12-5-18.xlsm. This part works fine EXCEPT-

The links in FileB change to the Path and Filename of the copy. I want them to stay the original path and filename.

Any ideas?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi,
Why don't you save the file at the main directory MyExcel and then copy it to the backup one?

Regards,
Sebastian
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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