![]() |
|
#3
|
|||
|
|||
|
thanks for your replay @macropod, I really appreciate that, what I have tried is very trivial like me.
Code:
Selection.Find.ClearFormatting
With Selection.Find
.Text = "the VBA"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
Do While Selection.Find.Execute
Selection.ExtendMode = True
Loop
End With
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Possible to create a user form and populate it with a field from the main document? | NMGMarques | Word | 3 | 02-12-2020 06:08 PM |
Find currency amounts in Word doc, perform sum
|
GWTJR | Word VBA | 3 | 10-15-2017 02:22 PM |
| Macro to find a word in first row of table and then perform two macros | hmsrose | Word VBA | 5 | 01-30-2015 12:17 AM |
| Can Word highlight the same text in the Reviewing Pane as in the main document? | wordistheword | Word | 4 | 09-09-2013 04:50 AM |
| Connecting documents to main document | themangoagent | Word | 1 | 08-07-2009 10:15 AM |