Code:
Sub textHighlighter()
Selection.range.HighlightColorIndex = wdYellow
End Sub
I want to assign shortcut keys to this sub
when I highlight texts, just press the key to do the effect
I have tried
Code:
Application.OnKey "', ""
But doesn't work at all.
I mean thru VBA, not thru using the Macro Menu.
Thanks in advance.