![]() |
#1
|
|||
|
|||
![]()
Is that possible to modify those lines to a single line find.execute command?
Thanks Code:
With Activedocument.StoryRanges(wdMainTextStory).Find .Text = "Hi there*Here" With .Replacement .Text = "^&" .Font.Size = 11 End With .Wrap = wdFindContinue .Format = True .MatchWildcards = True .Execute Replace:=wdReplaceAll End With
__________________
Backup your original file before doing any modification. |
#2
|
|||
|
|||
![]()
No it is not.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
neilfxb | Word | 21 | 02-22-2023 12:47 PM |
![]() |
jeffreybrown | Word VBA | 14 | 09-09-2019 05:37 AM |
![]() |
diracsbracket | Word VBA | 3 | 10-30-2016 03:17 AM |
![]() |
WaltR | Word | 2 | 02-23-2015 09:09 PM |
![]() |
cksm4 | Word VBA | 1 | 10-22-2011 11:36 PM |