O'Reilly logo

Writing Word Macros, Second Edition by Steven Roman PhD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Help

If you are like me, you will probably make extensive use of Microsoft’s Word VBA help files while programming. The simplest way to get help on an item is to place the cursor on that item and press the F1 key. This works not only for VBA language keywords but also for portions of the VBA IDE.

Note that Microsoft provides multiple help files for Word, the VBA language, and the Word object model. While this is quite reasonable, occasionally the help system gets a bit confused and refuses to display the correct help file when you hit the F1 key. (I have not found a simple resolution to this problem, other than shutting down Word and the Visual Basic Editor along with it!)

Note also that a standard installation of Microsoft Office does not install the VBA help files for the various applications. Thus, you may need to run the Office setup program and install Word VBA help by selecting that option in the appropriate setup dialog box. (Do not confuse Word help with Word VBA help.)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required