Functions referenced from add-in display file/folder path

lesotho72

New Member
Joined
Oct 11, 2010
Messages
9
Hello,

I created an add-in (.xlam) in Excel 2007 which has a number of user-defined functions. The add-in was deployed to a shared network folder as read-only so: (a) it could be referenced by multiple users at the same time and (b) we could easily deploy changes.
The individual functions within the add-in have worked properly and have thrown no errors.
The problem we are encountering is the functions often are proceeded by the folder where the add-in is located. So, users enter =GetFinancialValue(A1) -- where GetFinancialValue is a function we created. It initially works fine. Then, when the user closes and reopens the spreadsheet -- or sends it to someone else, the function is proceeded by: '\\servername.net\files\Software\ExcelAddIn\CompAddin.xlam'!GetFinancialValue(a1). The folder name is correct and may be referenced by all users. Why do this folder name occur? This causes the udf to not run and return #VALUE!.
We can resolve this by going into 'Data' --> 'Edit Links' and clicking 'Open Source' -- then everything calcs properly and the folder name is dropped from the udfs. But, the next time we open the file the same issue occurs again. Don't want users to have to do this every time they open a spreadsheet. When we click on 'Check Status' from the same 'Edit Links' dialog it displays 'Source is Open'


Thanks so much for any help you can offer. This is driving us nuts.

Thanks,
Dan
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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