Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I created an addin at work that I store on our shared server. I found that
this allows mutliple users the ability to use the macros and have the code and custom toolbars automatically update each time Excel is opened. I wrote a few UDFs that I want to include in this addin. They worked fine in my test spreadsheet that was stored on the server; however, when I moved the module to the addin, they no longer work when called. Each function is available under the Insert- Function command, but each test of the function results in a #NAME? error. I did some research and found a forum here by JodieM who had issues with UDFs in custom addins on servers. A suggested solution was to copy the addin to the user's local folder. I do not wish to do this because I frequently update and add to the addin's code and need it to refresh for each user. Also, I tried copying the addin containing UDFs to my local addins folder, and the sheet STILL returned a #NAME? error when asked to use the functions. Can anyone explain what's going on here and suggest a solution? Thanks, Pflugs |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
is you r UDF declared as Public?
-- Pranav Vaidya VBA Developer PN, MH-India "Pflugs" wrote: I created an addin at work that I store on our shared server. I found that this allows mutliple users the ability to use the macros and have the code and custom toolbars automatically update each time Excel is opened. I wrote a few UDFs that I want to include in this addin. They worked fine in my test spreadsheet that was stored on the server; however, when I moved the module to the addin, they no longer work when called. Each function is available under the Insert- Function command, but each test of the function results in a #NAME? error. I did some research and found a forum here by JodieM who had issues with UDFs in custom addins on servers. A suggested solution was to copy the addin to the user's local folder. I do not wish to do this because I frequently update and add to the addin's code and need it to refresh for each user. Also, I tried copying the addin containing UDFs to my local addins folder, and the sheet STILL returned a #NAME? error when asked to use the functions. Can anyone explain what's going on here and suggest a solution? Thanks, Pflugs |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No, they weren't. They are now, and everything seems to be working fine, no
matter where the source addin is saved. That's a huge relief. Thanks very much for pointing that out. Pflugs "Pranav Vaidya" wrote: is you r UDF declared as Public? -- Pranav Vaidya VBA Developer PN, MH-India "Pflugs" wrote: I created an addin at work that I store on our shared server. I found that this allows mutliple users the ability to use the macros and have the code and custom toolbars automatically update each time Excel is opened. I wrote a few UDFs that I want to include in this addin. They worked fine in my test spreadsheet that was stored on the server; however, when I moved the module to the addin, they no longer work when called. Each function is available under the Insert- Function command, but each test of the function results in a #NAME? error. I did some research and found a forum here by JodieM who had issues with UDFs in custom addins on servers. A suggested solution was to copy the addin to the user's local folder. I do not wish to do this because I frequently update and add to the addin's code and need it to refresh for each user. Also, I tried copying the addin containing UDFs to my local addins folder, and the sheet STILL returned a #NAME? error when asked to use the functions. Can anyone explain what's going on here and suggest a solution? Thanks, Pflugs |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error Autoloading Addin with UDFs | Excel Programming | |||
how to access UDFs from a COM addin? | Excel Programming | |||
Addin Issue | Excel Programming | |||
Excel Addin written in C# issue | Excel Programming | |||
addin loading issue | Excel Discussion (Misc queries) |