Microsoft KB Archive/51134

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:25, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q51134 to Microsoft KB Archive/51134 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Inserting ANSI Character Codes from a Macro

PSS ID Number: Q51134 Article last modified on 05-14-1991

1.00 MS-DOS

Summary: The following macro prompts you for an ANSI character code and inserts the corresponding ANSI character at the insertion point: Sub MAIN AnsiChar$ = InputBox<math display="inline">("Enter the ANSI Code", "ANSI Character") AnsiNum = Val(AnsiChar</math>) Insert Chr$(AnsiNum) End Sub

Reference(s):

Additional Keywords: w4wmacro