View Single Post
 
Old 02-05-2016, 05:53 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,366
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

To do that, replace:
With ActiveDocument.Range
with:
Dim RngFnd As Range
Set RngMain = Selection.Range
With Selection.Range
and insert:
If Not .InRange(RngMain) Then Exit Sub
before:
If .Font.Bold = 9999999 Or .Font.Italic = 9999999 Then
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote