Microsoft KB Archive/155125

= WD: Some Arguments for FormatNumber Statement Don't Work =

Article ID: 155125

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a

-



This article was previously published under Q155125



SYMPTOMS
The following arguments for the FormatNumber statement do not affect character formatting:

.Bold

.Italic

.Strikethrough

.Underline



WORKAROUND
To work around this problem, use either of the following methods.

Method 1: Record or Create Your Macro
Record or create your macro using the FormatMultiLevel command instead of FormatNumber.

Method 2: Add a FormatFont command to your macro or create another macro
Add a FormatFont command to your macro or create another macro to apply character formatting to a selection of text.

NOTE: To apply character formatting to numbers which were created with the FormatNumber command, you must select the paragraph marks before running the macro.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been corrected in Word 97 for Windows and Word 98 Macintosh Edition.

Keywords: kbbug kbfix kbmacro kbprogramming KB155125

-

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

© Microsoft Corporation. All rights reserved.