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

ID: Q212642


The information in this article applies to:
  • Microsoft Word 2000


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 this to be a problem in the Microsoft products 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:

Q212623 WD2000: Macro Programming Resources
Q226118 OFF2000: Programming Resources for Visual Basic for Applications

Additional query words: vba vbe vb

Keywords : kbprg kbdta kbwordvba wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.