+ Reply to Thread
Results 1 to 2 of 2

Displaying help in a UDF

  1. #1
    JulieD
    Guest

    Displaying help in a UDF

    Hi All

    been playing with UDF's and would like to know how to display help info on
    the UDF wizard screen ... where it says "no help available"
    --
    Cheers
    JulieD



  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening JulieD

    First of all you need to put the function into a category, because (and I think I'm right in saying this) you can't apply text to something in the user defined section.

    Application.MacroOptions Macro:="MyUDF", Category:=x

    where x =

    0 All
    1 Financial
    2 Date & Time
    3 Math & Trig
    4 Statistical
    5 Lookup & Reference
    6 Database
    7 Text
    8 Logical
    9 Information
    14 User Defined

    You can then put in your description in one of two ways:

    VBA:
    Application.MacroOptions Macro:="MyUDF", Description:="This is my UDF"

    or do it from your workbook thus:
    Tools > Macros > Macro and type the name of your function in the box and click on Options and put your description in the box that appears.

    You only have to do this once, not every time the workbook opens.

    Hope that's just what you wanted. Keep up the great work.

    DominicB

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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