WD2001: Word 2000 Macro View Properties Are Not Compatible with Word 2001 (275385)



The information in this article applies to:

  • Microsoft Word 2001 for Macintosh

This article was previously published under Q275385

SYMPTOMS

When you use a Microsoft Visual Basic for Applications Sub procedure (macro) in Microsoft Word 2001 for Mac, the macro may not run as expected. The same macro in Microsoft Word 2000 runs as expected.

CAUSE

This behavior can occur if the macro uses either of the following properties: wdPrintView or wdWebView. These properties are recognized only in Word 2000. Word 2001 uses wdPageView and wdOnlineView, respectively, in place of these properties.

WORKAROUND

To work around this issue, follow these steps:
  1. Start Word 2001, and then start the Visual Basic Editor.
  2. Open the module containing the macro that you want to fix.
  3. Click Replace on the Edit menu.
  4. Replace all instances of wdPrintView with wdPageView and all instances of wdWebView with wdOnlineView.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Word 2001 for Mac.

Modification Type:MajorLast Reviewed:10/14/2002
Keywords:kbbug KB275385