Writing an Excel Help File

Written by Allen Wyatt (last updated July 22, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


4

Peter would like to write a help file for an add-in he's creating. He wonders if there are there any good guides available that explain how to do this.

The unequivocal, definitive answer is "sort of." Creating a help file for an Excel VBA project isn't as straightforward as one would hope. If you jump into the Visual Basic Editor, you'll see in the Project Properties dialog box that there is a place to specify a help file. (See Figure 1.) (You display the Project Properties dialog box by clicking Tools | VBAProject Properties.)

Figure 1. The VBA Project Properties dialog box.

However, Microsoft provides precious little information on how to actually create the help file. Here, for instance, is a page from one of Microsoft's websites:

https://learn.microsoft.com/en-us/office/vba/language/concepts/forms/custom-help-files

Helpful, right? Right! We did run across one helpful guide at WikiHow that explains how to create help files. You can find it here:

https://www.wikihow.com/Make-a-Help-File

What the guide doesn't provide is how to tie the help file into your Excel VBA project. Finding that out may take more digging than we've been successful in unearthing.

By the way, the obscure nature of help files and getting them tied into a VBA project is why (I strongly suspect) that most help is now done through web pages or web sites. They are much easier to maintain and access. So, you may want to strongly consider adopting that approach.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13904) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Deleting Menu Items

Excel allows you to customize your menus so that they contain the commands you want on them. If you later want to delete ...

Discover More

Saving Embedded Images to Individual Files

Word has long allowed you to embed pictures or images in the documents you create. What if you want to get those pictures ...

Discover More

Disabling Shift Key Use when Opening a Workbook

Open up a workbook, and Excel normally runs the macros associated with that workbook. You can disable the automatic ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Disabling the F1 Key

Tired of hitting the F1 key by mistake and pulling up the Help system? Here are a couple of ways (one drastic and one not ...

Discover More

Ensuring Usability for Differing Excel Versions

If you develop workbooks that will be used by others, you need to be aware of which versions of Excel are being used. ...

Discover More

Seeing Excel's Program Window

Have you ever opened Excel to find that the window you saw yesterday is not the same as it is today? Sometimes, for ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

2023-07-24 22:29:47

Peter

There is a big learning curve. The WikiHow link above leads to a video that does show the steps to make a simple .chm file that worked in an Application.Help call and as context sensitive help in a MsgBox.
There are a lot of manual steps and what seems to be duplication of information.
The information at
https://documentation.help/Microsoft-HTML-Help/guide.htm
looks comprehensive.


2023-07-24 05:14:50

DaveS

A pdf file can work as a simple help file, with bookmarks linked to a contents list to aid navigation. Some means of opening the pdf needs to be provided, which could be a custom ribbon control, button on a worksheet, event handler etc., whatever fits best to the application.


2023-07-23 10:23:44

J. Woolley

I assume Excel Add-in Help refers to macros and functions included in the add-in. My Excel Toolbox's add-in includes a macro named MyToolboxMacros that lists all available macros with a brief description of each (see Figure 1 below) . If use of a given macro is not obvious, MsgBox instructions are displayed during operation. Each function in the add-in is described using
Application.MacroOptions Description:=..., ArgumentDescriptions:=..., etc.
This enables use of the Insert Function dialog (Shift+F3) for help with the function (see Figure 2 below) .

Figure 1. 

Figure 2. 


2023-07-22 15:15:32

Philip

It used to be very powerful to have your own help files. Online help is only useful if you have a good internet connection … what if you’re e.g. working while on a long haul flight or staying someplace without good broadband (yes, these places still exist plenty) … shame that MS has done away with good built-in / offline help and with offering it’s users the possibility to provide own help files.

Only workaround I find somewhat satisfactory is to build a set of help screens using VBA user forms in my VBA work …


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.