![]() |
#1
|
|||
|
|||
![]() I need to remove all the text between two keywords. So far I have been using this code: Code:
With Selection .HomeKey Unit:=wdStory With Selection.Find .ClearFormatting .Replacement.ClearFormatting .Text = "START_KEYWORD(*)END_KEYWORD" .MatchWildcards = True .Replacement.Text = "" .Execute Replace:=wdReplaceAll End With End With Code:
.Text = "START_KEYWORD^p(*)END_KEYWORD" Can someone help me, please? Alex |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
dylansmith | PowerPoint | 3 | 03-04-2023 08:55 PM |
![]() |
eduzs | Word VBA | 2 | 06-29-2019 03:01 AM |
![]() |
Oberstfunster | Word | 2 | 12-06-2018 09:28 AM |
Wildcards used for Search and Replace | ChrisRick | Word | 2 | 03-09-2017 05:01 AM |
Any wildcards search and replace in Powerpoint 2010? | tinfanide | PowerPoint | 0 | 09-10-2011 02:17 AM |