Create a help hint for a UDF

M

Mary

How does one add a help message/hint to a user defined function? The funtion
is created in Visual Basic in an Excel file.
 
J

Jacob Skaria

This is called the tooptip and there is no direct way to create the same for
UDF with Excel VBA...

PS: After typing the =functionname hitting Ctrl+Shift+A will give you the
argument names displayed in the worksheet...()

If this post helps click Yes
 
J

Jacob Skaria

Just to add a description to be viewed by the user in the function wizard you
can try the below..

--From VBE>press F2 Object Browser
--From librariees select VBAproject>From classes select the module which
contain the UDF and from members select the UDF
--Right click the UDF>properties>enter description which will be displayed
in the function wizard.

--More here
http://www.jkp-ads.com/articles/RegisterUDF00.asp


If this post helps click Yes
 
S

Sam Wilson

I did not know the Ctrl + Shift + A! Good tip...

Jacob Skaria said:
This is called the tooptip and there is no direct way to create the same for
UDF with Excel VBA...

PS: After typing the =functionname hitting Ctrl+Shift+A will give you the
argument names displayed in the worksheet...()

If this post helps click Yes
 

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