An input method for entering Chinese Pinyin with tone-marks
in Microsoft Word
Installing this is a bit tricky, because Microsoft Word has many restrictions
against adding new features; for a good reason - protection against viruses.
Just follow these steps and it should work.
This procedure will add the QuickPinyin input method to one of your
- Go to here. This will open a
new window with code in it.
- In the new window, select "Select All" from the "Edit"
menu. Then select
"Copy" from the "Edit" menu. You can close that window
- Run Microsoft Word. Close any open documents.
- If you want to change a template other than the default one (usually
"Normal.dot") then open it.
- Press ALT-F11. The Visual Basic editor will open.
- One of the panes will be the Project Viewer. There you will see a tree
with your template name at the root. For example, "Normal".
- Under the root name ("Norma") you will see "Microsoft Word
- Under "Microsoft Word Objects" you will see "ThisDocument".
Double-click on that, and a text pane will open.
- Click on the text pane to make sure the text cursor is there.
- Select "Paste" from the "Edit" menu.
- Close the Visual Basic editor.
The next procedure will attach the ALT-P key to QuickPinyin.
- Select "Customize" from the "Tools" menu.
- Click on the "Keyboard" button (on the bottom of the dialog
- In the "Categories" list, scroll down to "Macros".
- Select "QuickPinyin" from the "Macros" list.
- Click on the "Press new shortcut key" box.
- Press ALT-P.
- Click on the "Assign" button.
- Click on the "Close" button.
There you go! Pressing ALT-P at anytime (when using the template) will open
up the QuickPinyin input method.
Note that QuickPinyin follows the rules for tone marks! It is
sufficient to put the tone number after the word-part, for example
"Xiao4hua4" will correctly put 4th tone marks on both a's.