+ Reply to Thread
Results 1 to 9 of 9

RibbonX - Is it possible to add help (F1) for a macro?

  1. #1
    Valued Forum Contributor
    Join Date
    02-21-2010
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    502

    RibbonX - Is it possible to add help (F1) for a macro?

    if one hovers the mouse pointer over a custom button a popup window appears that says "Press F1 for more help".
    Is it possible to add an instruction manual for the macro that is executed by the custom button to the help menu?
    If it is not possible, please somebody say so.
    Last edited by dschmitt; 07-07-2010 at 03:35 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    How many macros are you going to have that you want help info or instructions on?

    How big of an instruction manual do you want? If it's over 1/2 page, suggest you use Word for the instruction manual. I think Word can be locked so that the user can not modify. Word can be opened automatically from a macro.

    A sample or dummy spreadsheet showing where your macro's are going to be located, quantity and those that are to have manuals associated. You can dummy in the macro buttons by coloring cells in approximate locations..

    I'll reply after you submit information.

    It would also be good to know what verison of Excel your using.
    Thanks for helping . . .
    Matt @ Launchnet

  3. #3
    Valued Forum Contributor
    Join Date
    02-21-2010
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    502

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    it is not only one macro. I have 4 macros and 3 checkBoxes in one customGroup. All of this packaged in one Excel addin. In the manual I want to explain how all these functions work together. Its going to be a manual of at least 5-10 pages with lots of screen shots. I attached a xlsm file showing the customGroup in the Ribbon. I want to access the manual via the dialogBoxLauncher.

    I have the feeling that adding the manual to the Excel help menu is not an option. An alternative is the Word option you mentioned. I definetely want to here more details about this strategy. Would it also be possible to use an Excel sheet?

    In any case, what I would like to have is that the manual is embedded in the Excel addin.

    I am using Excel 2007.
    Attached Files Attached Files

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    I don't think you can add your help File to the F1 help.

    To write a help file you can produce a *.chm file which you can open from your code. There's various help file writing programs available.

    Alternatively you could have UserForm display the help,depends on complexity

    THre's no code in your attachment nor amendment to the ribbon
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Valued Forum Contributor
    Join Date
    02-21-2010
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    502

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    a chm help file is a good idea. I have to look into that. I first need to get a chm file creator ...

    Related question:
    I want to keep the addin distribution as simple as possible. Which means, I would like to send out only the xlam file.
    How should I deal then with the chm file? Can that be embedded into the xlam file? Or do I have to distribute the chm file together with the xlam file?
    If the later is the case, where should the chm file be kept? Is there a designated folder for such help files?

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    You distribute the chm file with the addin,I keep it in the same folder & my code opens it,you can specify the page in your code.

  7. #7
    Valued Forum Contributor
    Join Date
    02-21-2010
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    502

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    keeping the addin together with the chm in one folder is a good idea. I will do that.
    Regarding specifying the page. Do you mean that I can access from every checkBox and every button in my customGroup the relevant page in the chm file?

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    You can write your code to open the relevant page

  9. #9
    Valued Forum Contributor
    Join Date
    02-21-2010
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    502

    Re: RibbonX - Is it possible to add help (F1) for a macro?

    I see. Thank you for letting me know. This concludes this thread. I will start another thread later after I have finished the chm file to find out the details about how to code the link to the chm file pages.

+ 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