Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Issue with UDFs in Personal Addin

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 180
Default Issue with UDFs in Personal Addin

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Issue with UDFs in Personal Addin

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Autoloading Addin with UDFs Jim Excel Programming 3 July 24th 06 12:55 AM
how to access UDFs from a COM addin? Steve Price Excel Programming 1 July 20th 06 09:39 AM
Addin Issue kt Excel Programming 0 June 26th 05 04:58 PM
Excel Addin written in C# issue Fariq Excel Programming 2 March 2nd 05 02:49 PM
addin loading issue howiefan Excel Discussion (Misc queries) 3 December 1st 04 11:10 PM


All times are GMT +1. The time now is 09:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"