View Single Post
 
Old 05-28-2017, 08:03 AM
gmaxey gmaxey is offline Windows 7 32bit Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

No, but you can fudge:

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim orng As Range
  Set orng = Selection.Range
  orng.Underline = wdUnderlineWavy
  With orng.Find
    .Text = "[ .,:;\!\?" & Chr(9) + Chr(160) & "]"
    .MatchWildcards = True
    .Font.Underline = wdUnderlineWavy
    .Replacement.Font.Underline = wdUnderlineNone
    .Execute Replace:=wdReplaceAll
  End With
lbl_Exit:
  Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote