Article ID: 212642 - Last Review: October 11, 2006 - Revision: 2.2

WD2000: Commands on Web Toolbar Cannot Be Recorded in a Macro

This article was previously published under Q212642
Expand all | Collapse all

SYMPTOMS

When you attempt to record a macro that selects commands from the Go menu on the Web toolbar, the commands are not recorded.

CAUSE

The following Web commands are not part of the Visual Basic for Applications language and cannot be recorded:
  • Open
  • Back
  • Forward
  • Start Page
  • Search the Web
  • Set Start Page
  • Set Search Page

WORKAROUND

Open the macro in the Visual Basic Editor and add equivalent WordBasic commands in place of the Web commands listed in the "Cause" section of this article.

Web Function Equivalent WordBasic Command
Back WordBasic.WebGoBack
Forward WordBasic.WebGoForward
Start Page WordBasic.WebOpenStartPage
Search the Web WordBasic.WebOpenSearchPage


There are no corresponding WordBasic commands for the following three Web commands:
  • Open
  • Set Start Page
  • Set Search Page

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

REFERENCES

For additional information about getting help with Visual Basic for Applications, click the article numbers below to view the articles in the Microsoft Knowledge Base:
212623  (http://support.microsoft.com/kb/212623/EN-US/ ) WD2000: Macro Programming Resources
226118  (http://support.microsoft.com/kb/226118/EN-US/ ) OFF2000: Programming Resources for Visual Basic for Applications

APPLIES TO
  • Microsoft Word 2000 Standard Edition
Keywords: 
kbbug kbnofix kbprogramming KB212642
 

Article Translations