UDF in personal.xlsb is not recognized

D

David

I wrote a User Definied Function and saved it in Module1 in Personal.xlsb
but it works only from the Immediate window and only if the "personal.xlsb"
project is selected in the project window in VBE.
All tutorials in internet say that saving the function in any module in
personal.xlsb is enough to have it available in any worksheet.
Why it doesn't work?
Please help.

TIA
David
 
C

Claus Busch

Hi David,

Am Thu, 29 Nov 2012 19:36:52 +0100 schrieb David:
I wrote a User Definied Function and saved it in Module1 in Personal.xlsb
but it works only from the Immediate window and only if the "personal.xlsb"
project is selected in the project window in VBE.
All tutorials in internet say that saving the function in any module in
personal.xlsb is enough to have it available in any worksheet.

in front of your function you have do write PERSONAL.xlsb!
e.g.: =PERSONAL.XLSB!mysum()


Regards
Claus Busch
 
D

David

Il Thu, 29 Nov 2012 19:44:50 +0100, Claus Busch ha scritto:
Hi David,

Am Thu, 29 Nov 2012 19:36:52 +0100 schrieb David:


in front of your function you have do write PERSONAL.xlsb!
e.g.: =PERSONAL.XLSB!mysum()

It works, thank you.

David
 
G

Gord Dibben

David

I prefer to place all my commonly-used macros in an
add-in.............you don't have to use the filename prefix.

=mysum() will suffice


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top