Display custom function's description (Excel for Mac 2011 VBA)

Anonymous
2014-05-10T21:49:25+00:00

Hi:

I'd like to insert a description of what a custom function I created in VBA does somehow so that when one chooses "Insert Function" and scrolls down to the User Defined section a nice description of what this function does pops up in the "Description" window. I can find instructions for how to do this in PC versions of Excel, but nothing in the Mac version.

Any help would be greatly appreciated. Thank you!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2014-05-13T17:54:14+00:00

    Following up on Rich's answer...

    After typing your tool tip into the Description field of the Macro Options dialog, click OK to exist the Macro Options dialog, but then click the Cancel button to exit the Macro dialog box. This is counterintuitive, but clicking the Cancel button actually registers the tool tip.

    Save the workbook, and then re-open the workbook and you will see your tool tip in the Formula Builder.

    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2014-05-11T02:12:29+00:00

    After writing the VBA User Defined Function (UDF) go to the Developer tab and select the Macros button. Since your UDF macro is a "Function" it will not appear in the list of Macros. However, if you type the name of the Function into the "Macro name" text box the "Options" button will enable on the dialog.

    Click Options and in the dialog that opens you can enter the Tooltip.

    Hope this helps

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-05-11T02:53:28+00:00

    Thanks for quick reply. Will try next week when I get some office time and let you know. Much appreciated!

    0 comments No comments
  2. Anonymous
    2014-05-13T21:22:34+00:00

    Interestingly enuf, clicking either "OK" or "Cancel" seemed to work and store the function description. Thanks much to you both!!!

    0 comments No comments
  3. Anonymous
    2015-10-13T11:05:58+00:00

    Is there a method to do this programmatically?  We have a small library of user functions and use the "Application.MacroOptions" feature in VBA to register this information under Windows, but this function is not recognized by MAC VBA.  Is there an alternative?

    0 comments No comments