The information in this article applies to:
SYMPTOMS
When you record a macro to use a document style (on the Format menu, click Style), the Styles property is recorded as a string instead of the predefined constant.
Because this string value may be incompatible with a non-English language version of Word, the correct syntax is to use the predefined constant, as in the following example:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONFor more information about using style property constants in Word, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "Style Property" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic. http://www.microsoft.com/support/supportnet/refguide/ REFERENCESFor more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base: Q226118 OFF2000: Programming Resources for Visual Basic for Applications Additional query words: vba
Keywords : kbdta kbwordvba wd2000 |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |