Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Creating Your Own Help screens

Latest post Wed, Apr 16 2008 2:17 AM by Mike Alexander. 5 replies.
  • Wed, Apr 9 2008 9:17 AM

    Creating Your Own Help screens

    How do you write a help file for an Excel VBA function that is displayed when a user clicks "help on this function"

    Filed under: , ,
    • Post Points: 5
  • Wed, Apr 9 2008 11:27 AM In reply to

    Re: Creating Your Own Help screens

    Depends largely on the size and or sophistication of the help. If it is short say a reasonable paraph, use comments.

    • Post Points: 5
  • Wed, Apr 9 2008 11:57 AM In reply to

    Re: Creating Your Own Help screens

    Thanks.  Specifically, I mean through the Excel fx feature.  When you invoke fx, you get the list of arguments with entry fields, a description of the function, and the opportunity to select help for that function.  I haven't found any way to add the description and help.

    Filed under: , ,
    • Post Points: 21
  • Wed, Apr 9 2008 11:40 PM In reply to

    Re: Creating Your Own Help screens

    Here's how you would do it:

    1.  In the Visual Basic Editor, go to the menu bar and select View-->Object Browser.

    2.  Click the drop-down list that contains the words "All Libraries" and select "VBAProject".  This will display your modules in the pane on the left. 

    3.  Click the module or class that contains your User Defined Function.

    4.  Right-click the name of your function and select Properties. 

    This will open the Members Options dialog box, where you can enter your description and point to the correct Help context.

    Mike Alexander Microsoft Excel MVP www.datapigtechnologies.com
    • Post Points: 21
  • Tue, Apr 15 2008 9:31 PM In reply to

    • Rick Williams
    • Top 25 Contributor
    • Joined on Wed, Jan 9 2008
    • Melbourne, Australia
    • Posts 15
    • Points 299

    Re: Creating Your Own Help screens

    Hi Mike,

    I'm not familiar with customising Help - from what I understand, your above 'how to' allows you to point the help for a UDF to an existing Help item (as defined by the Help Context number).

    But how do I write my own help file? ...and then set context IDs with which to link my UDF to?

    Rick Melbourne, Australia
    Filed under:
    • Post Points: 21
  • Wed, Apr 16 2008 2:17 AM In reply to

    Re: Creating Your Own Help screens

    I see what you are saying now. 

     I'm frankly stumped on this one. I can't seem to make the Member Options dialog box accept an external help file.  I may be missing something, but I think you can only point to an internal context ID.

    This blog post at Daily Dose of Excel talks a little about how to create some quick and dirty help files.  But again, I can't see a to point to them from the function wizard.

    http://www.dailydoseofexcel.com/archives/2004/10/21/creating-help-files/ 

     

     

     

    Mike Alexander Microsoft Excel MVP www.datapigtechnologies.com
    • Post Points: 5
Page 1 of 1 (6 items) | RSS
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.