Microsoft KB Archive/275385

= WD2001: Word 2000 Macro View Properties Are Not Compatible with Word 2001 =

Article ID: 275385

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Word 2001 for Mac

-



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.

Additional query words: off2001kb mac macword WD2001KB

Keywords: kbbug kbpending KB275385

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.