PC Review


Reply
Thread Tools Rate Thread

How do I use functions that I have written in Excel formulas

 
 
Gita_B
Guest
Posts: n/a
 
      5th Mar 2009
I have functions that I have written. i should have been able to use them in
EXcel formula but when i Use the function in the excel Sheet it is not
recognized. I get #Name Error.

Can some one help?

Regards
Gita.
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      5th Mar 2009
Hi,

Assuming you mean UDF's then you will get a NAME error if you put them in
the wrong place. Try this

ALT+F11 to open VB editor. Right click 'ThisWorkbook' and insert module and
put your function there.

Mike

"Gita_B" wrote:

> I have functions that I have written. i should have been able to use them in
> EXcel formula but when i Use the function in the excel Sheet it is not
> recognized. I get #Name Error.
>
> Can some one help?
>
> Regards
> Gita.

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      5th Mar 2009
Are the functions in a general module in the workbook in which you are
calling them?

Should be OK in that case.

If stored in another workbook like Personal.xls you must preface the formula
as such................

=Personal.xls!myfunction(args)


Gord Dibben MS Excel MVP

On Thu, 5 Mar 2009 10:22:03 -0800, Gita_B <(E-Mail Removed)>
wrote:

>I have functions that I have written. i should have been able to use them in
>EXcel formula but when i Use the function in the excel Sheet it is not
>recognized. I get #Name Error.
>
>Can some one help?
>
>Regards
>Gita.


 
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
Scope limit of user written Excel Functions =?Utf-8?B?bWlja2V5?= Microsoft Excel Programming 5 24th Apr 2007 06:12 AM
Excel Formulas and Functions: Tax llenuts Microsoft Excel Discussion 5 18th Apr 2004 12:55 PM
Excel Formulas/Functions Michael B Microsoft Excel Worksheet Functions 2 23rd Dec 2003 04:16 PM
Excel Formulas and Functions Lenny Johnson Microsoft Excel Programming 3 30th Sep 2003 02:08 PM
Excel functions/formulas Matt Microsoft Excel Programming 2 21st Aug 2003 07:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.