Microsoft KB Archive/71029

Macro that Generates Table of Special Characters PSS ID Number: Q71029 Article last modified on 07-14-1994

1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c

WINDOWS

Summary:

Different font sets have different extended characters. A font set may look the same as an ANSI set on the screen, but you print both sets the printouts may be different.

Microsoft Word for Windows versions prior to 2.0c do not have a character test macro (as Word for MS-DOS does). The following macros generate a five-column document of all of the extended characters for a given font. You can print the document after formatting it for a chosen font to show the codes and symbols that will be printed if you choose this font.

More Information:

Word for Windows Version 2.0c
The PSS.DOC file included with Word for Windows version 2.0c includes a macro called CharacterSet. To access and run this macro, do the following:


 * 1) Open the PSS.DOC file from the Word for Windows program directory.
 * 2) Click on the Run button beside the CharacterSet macro description.
 * 3) Select a font from the list of fonts under Select.

The macro will create a character set table in a new document window.

Word for Windows Versions 2.0, 2.0a, and 2.0b
  From the Tools menu, choose Macros.   Type the following as the macro name: Chartest   Choose the Edit button. Enter the following commands below Sub Main: FormatColumns .Columns = 5, .ApplyColsTo = 2 i = 33 While i < 256 val$ = Str$(i) Insert Chr$ (i) Insert Chr$(32)  Insert Val$  Insert Chr$(11) i = i + 1 Wend   Select the whole document.   Choose any available font and print the document to evaluate the available extended characters and the associated numbers.   To obtain a character, press ALT and enter the associated number preceded by a zero. (Use the numeric keypad with NUM LOCK on). 

Word for Windows Version 1.x
  From the Macro menu in Word for Windows, choose Edit. </li>  Type the following as the macro name: Chartest Enter the following commands below Sub Main: FormatSection .Columns =“5” i = 33 While i < 256 val$ = Str$(i) Insert Chr$ (i) Insert Chr$(32)  Insert Val$  Insert Chr$(11) i = i + 1 Wend This macro generates characters 33 through 256 of the ANSI set. </li>  Select the whole document. </li>  Choose any available font and print the document to evaluate the available extended characters and the associated numbers. </li>  To obtain a character, press ALT and enter the associated number preceded by a zero. (Use the numeric keypad with NUM LOCK on). </li></ol>

Reference(s):

“Microsoft Word for Windows Technical Reference”

Additional reference words: w4wmacro winword character test symbol font 1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c

=
================================================================

Copyright Microsoft Corporation 1994.