+ Reply to Thread
Results 1 to 7 of 7

Adding tootip to UDF in VBA

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Mauitius
    MS-Off Ver
    Excel 2010
    Posts
    8

    Adding tootip to UDF in VBA

    Suppose i have a function, i want a description to appear like when using excel built-in function. My question is how to put a tooltip for the function and for the parameters so that as i type it in excel, it appears. Thanks in Advance guys.

    You help me i give you reps.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Adding tootip to UDF in VBA

    A detailed explanation: How to add a Tool Tip to User Defined Functions

    http://www.jkp-ads.com/Articles/RegisterUDF00.asp
    Last edited by JBeaucaire; 08-05-2013 at 10:09 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Adding tootip to UDF in VBA

    you cannot add a tooltip to a function only information in the function wizard as JB indicated
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Adding tootip to UDF in VBA

    Actually in 2010 you can do it, and that link has a hack for earlier versions, too, one that works if your willing to get in there and do it.

    Since UDFs are designed by the user, I've never really found any of this needful.

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Adding tootip to UDF in VBA

    no, you can't. you can add argument descriptions to the function wizard but you cannot add the tooltip you get when entering a native function in a cell. unless you can make me very happy by proving otherwise?

    udfs are as often as not created by developers rather than end users most of whom do not know what a udf is let alone how to create one ;-)

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Adding tootip to UDF in VBA

    You're right, I completely mixed up the ToolTip idea and the Function Wizard descriptions. ToolTips are still impossible for UDFs.

  7. #7
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Adding tootip to UDF in VBA

    The closest I've ever seen is this https://github.com/Excel-DNA/IntelliSense, though granted it may take some people out of their comfort zone

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] adding target lines into graphs without adding an extra column of data
    By ea223 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-16-2013, 12:32 PM
  2. Replies: 2
    Last Post: 04-06-2012, 02:42 PM
  3. Replies: 0
    Last Post: 04-18-2011, 06:39 PM
  4. Replies: 2
    Last Post: 05-16-2010, 11:23 PM
  5. Adding Time: Adding individual cells works, but SUM doesn't
    By fredmeister in forum Excel General
    Replies: 17
    Last Post: 04-11-2008, 10:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1