WD: Some Arguments for FormatNumber Statement Don't Work

ID: Q155125

The information in this article applies to:

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.

Additional query words:

Keywords          : kbmacro kbprg wordnt ntword macword word6 word7 word95 
Version           : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a; MACINTOSH:6.0,6.0.1,6.0.1a
Platform          : MACINTOSH WINDOWS
Issue type        : kbbug
Solution Type     : kbfix

Last Reviewed: January 21, 1999