![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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] |
|
#2
|
|||
|
|||
|
Thanks very much Paul. That seems to have worked. A few things I need to iron out, but it works really well.
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Highlight and then replace multiple words
|
redhin | Word VBA | 5 | 03-05-2013 05:42 AM |
Create and populate multiple templates with merge tags
|
jelarbey | Word | 1 | 10-09-2012 05:20 AM |
How can I count multiple usage of the same words?
|
coffee_king | Word VBA | 1 | 03-24-2012 07:52 PM |
| Attaching MSG file is stripped on send and HTML tags show on previewing prior to send | Fantastic4 | Outlook | 0 | 01-09-2012 12:18 PM |
Making Multiple Words Bold
|
mtk989 | Word | 2 | 06-25-2011 11:27 AM |