Tuesday, November 4, 2008

Adding a StrikeThrough Icon and/or shortcut to Word

Stolen from Dreamboat at Ozgrid. Check this site out if you want to learn more about Excel/MS Office.

I don't know of one and wasn't able to find one. But you can do this:

Open Word to a blank doc.
Hit Alt+F11 or Tools-Macro-Visual Basic Editor.
On the left in the VBE, choose Normal.dot.
Hit Insert-Module.
In the code window at right, paste this:


Sub LuckyStrike()

Selection.Font.StrikeThrough = True

End Sub


Hit the SAVE diskette. Close the VBE with the X.
Go to Tools-Customize. Choose the commands tab.
On the left, scroll down to Macros.
On the right, click on your macro.
Drag it up to the toolbar if you want a toolbar button.
Click "keyboard" at the bottom.
Type the shortcut Ctrl+5
Ok.
Ok.
Ok.
Ok.
or however many times you need to hit ok.

No comments: