WD: Some Arguments for FormatNumber Statement Don't Work (155125)



The information in this article applies to:

  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for Windows NT 6.0
  • Microsoft Word for the Macintosh 6.0
  • Microsoft Word for the Macintosh 6.0.1
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a

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.

Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kbbug kbfix kbmacro kbprogramming KB155125