WD: Some Arguments for FormatNumber Statement Don't Work

ID: Q155125


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1
  • Microsoft Word for Windows 95, versions 7.0, 7.0a


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 : MACINTOSH:6.0,6.0.1; WINDOWS:6.0,6.0a,6.0c,7.0,7.0a; winnt:6.0
Platform : MACINTOSH WINDOWS winnt
Issue type : kbbug


Last Reviewed: January 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.