Thread: [Solved] How to stop a macro
View Single Post
 
Old 07-26-2012, 12:09 PM
maceslin maceslin is offline Windows 2K Office 2007
Novice
 
Join Date: Jul 2012
Posts: 8
maceslin is on a distinguished road
Default How to stop a macro

I have created a macro to underline and change the color of the word(s) that I select using the macro builder. Macro works great when I execute but it will not "turn off", everything I type after highlighting my word(s) is in this format, it should only be the word(s) I select.

Here is the code

Code:
Sub NWDCtextin()
'
' NWDCtextin Macro
'
'
    Selection.Font.UnderlineColor = wdColorAutomatic
    Selection.Font.Underline = wdUnderlineSingle
    Selection.Font.Color = wdColorBlue
End Sub
Thanks for lookin'
Dave
Reply With Quote