PC Review


Reply
Thread Tools Rate Thread

Custom Function Add-In not working

 
 
Allen Geddes
Guest
Posts: n/a
 
      14th Nov 2008
I wrote a custom function in a module, then saved the workbook as an Excel
2007 Add-In... I sent that Add-In to someone else who, and had them enable
the Add-In... The Add-In was successfully enabled, but they can't use the
custom function that I wrote.

They can go into the VBE, see the Add-In, see the module that the custom
function is stored in, and see the code for the custom function, but can't
use the function unless they copy the code from the Add-In Module to a module
in their Workbook.

Please help me figure out why the custom function isn't working from the
Add-In! Thank you!!!!!
 
Reply With Quote
 
 
 
 
Allen Geddes
Guest
Posts: n/a
 
      14th Nov 2008
Does anybody have any ideas why my custom function won't work from a module
in an add-in?? Thanks!


"Allen Geddes" wrote:

> I wrote a custom function in a module, then saved the workbook as an Excel
> 2007 Add-In... I sent that Add-In to someone else who, and had them enable
> the Add-In... The Add-In was successfully enabled, but they can't use the
> custom function that I wrote.
>
> They can go into the VBE, see the Add-In, see the module that the custom
> function is stored in, and see the code for the custom function, but can't
> use the function unless they copy the code from the Add-In Module to a module
> in their Workbook.
>
> Please help me figure out why the custom function isn't working from the
> Add-In! Thank you!!!!!

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      14th Nov 2008
On Thu, 13 Nov 2008 19:22:13 -0800, Allen Geddes
<(E-Mail Removed)> wrote:

>I wrote a custom function in a module, then saved the workbook as an Excel
>2007 Add-In... I sent that Add-In to someone else who, and had them enable
>the Add-In... The Add-In was successfully enabled, but they can't use the
>custom function that I wrote.
>
>They can go into the VBE, see the Add-In, see the module that the custom
>function is stored in, and see the code for the custom function, but can't
>use the function unless they copy the code from the Add-In Module to a module
>in their Workbook.
>
>Please help me figure out why the custom function isn't working from the
>Add-In! Thank you!!!!!


What happens when they try to use the function?

Could there be an issue with their security settings.
--ron
 
Reply With Quote
 
Allen Geddes
Guest
Posts: n/a
 
      18th Nov 2008
Thanks Ron, I figured out what the problem was... I had named the VBA
Project, Add-In, and Custom Function all with the same name. Apparently,
that was causing a conflict when I called the function by name... because
after changing the names of all of them to something different, the function
works perfectly!


"Ron Rosenfeld" wrote:

> On Thu, 13 Nov 2008 19:22:13 -0800, Allen Geddes
> <(E-Mail Removed)> wrote:
>
> >I wrote a custom function in a module, then saved the workbook as an Excel
> >2007 Add-In... I sent that Add-In to someone else who, and had them enable
> >the Add-In... The Add-In was successfully enabled, but they can't use the
> >custom function that I wrote.
> >
> >They can go into the VBE, see the Add-In, see the module that the custom
> >function is stored in, and see the code for the custom function, but can't
> >use the function unless they copy the code from the Add-In Module to a module
> >in their Workbook.
> >
> >Please help me figure out why the custom function isn't working from the
> >Add-In! Thank you!!!!!

>
> What happens when they try to use the function?
>
> Could there be an issue with their security settings.
> --ron
>

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      18th Nov 2008
On Mon, 17 Nov 2008 16:56:00 -0800, Allen Geddes
<(E-Mail Removed)> wrote:

>Thanks Ron, I figured out what the problem was... I had named the VBA
>Project, Add-In, and Custom Function all with the same name. Apparently,
>that was causing a conflict when I called the function by name... because
>after changing the names of all of them to something different, the function
>works perfectly!


I've run into that, also. But I would have thought you'd have trouble on your
own machine, also.
--ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when adding custom help file to custom function Sabotuer99 Microsoft Excel Programming 1 19th Jul 2008 01:46 PM
Creating a custom function to interpret another custom engine func Ryan Microsoft Excel Programming 0 3rd Mar 2008 07:18 PM
Newly created Get Function is not working when I copied the syntax from a working function CJ Microsoft Excel Programming 1 16th Jan 2007 05:28 AM
Custom Function In Query Not Working =?Utf-8?B?TXVycA==?= Microsoft Access Queries 3 10th Jun 2005 02:41 PM
Adding a custom function to the default excel function list DonutDel Microsoft Excel Programming 3 21st Nov 2003 03:41 PM


Features
 

Advertising
 

Newsgroups
 


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