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



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q212642

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 WD2000: Macro Programming Resources

226118 OFF2000: Programming Resources for Visual Basic for Applications


Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbbug kbnofix kbProgramming KB212642