Thread
: [Solved]
Trying to wrap HTML tags around multiple different words in one operation
View Single Post
06-05-2013, 03:34 PM
macropod
Windows 7 32bit
Office 2010 32bit
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,938
You could change:
.Replacement.Text = "^&"
to:
.Replacement.Text = "<command>^&</command>"
Note that, with this approach, the entire replacement string is highlighted.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Send a private message to macropod
Find all posts by macropod