I'm using a custom Add-in which adds functions to Excel, like UDF1(param1, param2).
(1) example call in cell: =UDF1(param1, param2)
When saving workbook1, which implements UDF(), Excel silently adds the path to the Add-in to each call of UDF(). This can be seen when uninstalling the Add-in and reopening workbook1.
Excel asks to update external references, I click "don't update".
(2) new cell content: ='\...\user\Desktop\Addin1'!UDF1(param1, param2)
How to prevent Excel from saving the path to the Add-in when saving the workbook?
I would like the new cell content (2) to match the original content (1).
(This is particularly annoying when different people are using the same Add-in, respectively installed in a different location of their computers, as it requires deleting the '\......!' path from each cell each time the workbook is opened by another user.)
Edit: Remove AddIn path from UDF in Excel formula and http://www.jkp-ads.com/Articles/FixLinks2UDF.asp is not what I'm looking for, as the suggested "solutions" are workarounds.
You researched very well the issue*, and you found the answer that you did not like: what you want to do is not possible.
That is the way Excel refers to UDFs (similarly, when you refer to cells in open vs. not-open workbooks).
You need a workaround, either of those proposed in the links you provide, or perhaps something alternative.
.* It is not the typical case.