WD: Can't Insert Symbols by Typing ASCII Value in MacWordLast reviewed: February 3, 1998Article ID: Q125637 |
The information in this article applies to:
SYMPTOMSIn Word for the Macintosh, you cannot insert a symbol by typing the symbol's ASCII code on the keyboard. NOTE: This functionality was possible in Microsoft Word for the Macintosh, versions 5.0 and 5.1.
WORKAROUNDTo work around this behavior, use any of the following methods.
Method 1: Insert a Special CharacterCommonly used symbols, such as the em dash and the copyright symbol, are already assigned to keystrokes. To see the list of preassigned symbol keystrokes, click Symbol on the Insert menu and then click the Special Characters tab.
Method 2: Create Individual Shortcut Keys For Each SymbolSet up individual keystrokes for ASCII characters so that each symbol has a unique keystroke. To assign keystrokes to individual symbols, follow these steps:
Method 3: Create a Macro That Asks for the ASCII NumberThe following sample macro prompts you for an ASCII number and inserts the corresponding character. Use the appropriate method for your version of Word. NOTE: Before running the macro, be sure to choose the appropriate font from the Font menu for the character you want to insert. Each font may have a different symbol for the ASCII character you are using. Word 98 Macintosh Edition: Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/ Sub ASCII() num = Val(InputBox$("Type a 3-digit ASCII number.")) Selection.InsertAfter Chr$(num) Selection.Move Unit:=wdCharacter End SubWord 6.0:
Sub MAIN num = Val(InputBox$("Type a 3-digit ASCII number.")) Insert Chr$(num) End Sub Method 4: Create An AutoText Entry For Each SymbolTo create an AutoText entry, follow these steps:
Word 98 Macintosh Edition: On the Insert menu, point to AutoText and then click AutoText. Click to select the AutoText entry you want, and then click Insert. -or- Word 6.0: On the Edit menu, click AutoText. Click to select the desired AutoText entry and then click Insert. MORE INFORMATIONIn Word 5.0 and 5.1 for the Macintosh, follow these steps to enter a symbol using the keyboard:
REFERENCES"Microsoft Word User's Guide," version 6.0 page 785 "Microsoft Word for the Macintosh User's Guide," version 5.x, page 759
|
Additional query words: ascii insert keystroke symbol
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |