Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA Function not working when converted to an Excel Addin

Status
Not open for further replies.

chaos24

Technical User
May 22, 2003
3
US
This question may have been posted before, but I'm new to this website and can't find the answer.

My problem is that I created a few functions in VB for Excel and these functions are used in multiple spreadsheets. Instead of updating the functions in all the spreadsheets when changes are made, I decided to put them into an add-in. I installed the add-in and removed the module on the spreadsheet, but now the spreadsheet just shows #NAME? when I call for that function. I can solve this problem by pointing the function to the .xla, but that can't be a long term solution.

='C:\test\ExampleAddin.xla'!NewFunction(x)

I don't want to keep pointing to the addin whenever i need that function.

Please help!!!


Frustrated in MI
 
is there a reference in the add in code that was broken when you moved it?
 
I don't believe there was a reference that was broken in the add-in
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top