Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Is this Find/Replace possible to do by VBA?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Helmut Weber, post: 5871734"] Hi Southern at Heart, like that: Sub Test400A() Dim rDcm As Range Set rDcm = ActiveDocument.Range With rDcm.Find .Text = "\<ele>*\</ele\>" .Replacement.Text = "" .MatchWildcards = True .Execute Replace:=wdReplaceAll End With End Sub You might need to delete possible remaining double spaces in addition. -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Vista Small Business, Office XP [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Is this Find/Replace possible to do by VBA?
Top