Moving Workbooks that use XLAM Add-In Without Breaking Links

Urcomax

New Member
Joined
Aug 30, 2011
Messages
2
Hi,

I have a few useful functions in an XLAM. This is referenced in my global Excel options and all workbooks I create are able to see and use the functions within it. I can also copy/move these workbooks to new locations within my C drive without issue. However, if I move them to a new location, the Add-in tries to link to a non-existant folder with the same path as the original add-in but an updated drive identifier at the front.

So the cell before I move it contains...
=CURVE_INTERPOLATE(<arrayA>,<ArrayB>,<Value>)
and the function works as expected.

If I copy this workbook to another location including other logical drives - even my Google Drive, everything works fine EXCEPT if I copy it to a OneDrive folder. If I do that, this is the cell contents after the copy:

=<OneDriveWebAddress>/Users/rsmith15/AppData/Roaming/Microsoft/AddIns/CURVE_INTERPOLATE(<arrayA>,<ArrayB>,<Value>)

Of course this folder doesn't exist and the formula gives a #Name? error.

The workbooks I might want to put in this location could contain tens if not hundreds of cells that access my add-in 'tools' so updating each cell is impractical.

Of course I can do a search/replace but I'm looking for a way to prevent the initial copy from doing this 'clever' update in the first place!

Any fixes please?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,701
Messages
6,126,309
Members
449,309
Latest member
Ronaldj

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