

Click on your dashUmlaut macro in the Macros pane on the right. In the Customize Keyboard window which appears, scroll down the Categories pane and click on Macros. Go into File / Options, and in the new window click on Customize Ribbon, and then beside Keyboard Shortcuts (bottom left) click Customize. If you now click on Macros within the Developer tab of the ribbon, click on your dashUmlaut macro (which may already be highlighted) and click on Run then the dash with umlaut above it should appear in your document. Selection.MoveRight Unit:=wdCharacter, Count:=1Ĭlick the Save icon top left, and close the Developer window to return to your document. Selection.Delete Unit:=wdCharacter, Count:=1 Into this blank line paste the following code: Range:=Selection.Range, Type:=wdFieldEmpty, _ In the new window which appears the cursor should be on a blank line between Sub dashUmlaut() and End Sub. In the Macros window which appears type the name you want to call your macro (eg dashUmlaut), ensure the "Macros in" field is set to "Normal.dotm (global template)" (so that the macro is available across all your documents) and click Create.

Then click ok to return to your document.Ĭlick the Developer tab on the ribbon, then click on Macros, near top left. If you can't see it then go to File / Options, then in the new window which appears click on Customize Ribbon and in the right hand pane click the checkbox beside Developer. Begin by opening a new document in MS Word.įirst of all you need to have the Developer tab available in the top ribbon in MS Word. The instructions below are for Word 2013 other versions may vary. This answer expands upon the solution for Microsoft Word given above by FRCLS, by putting it into a macro and assigning a shortcut key, so that you can just press the shortcut key to get it to work.
