Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
JustLearning
 
Posts: n/a
Default Find multiple words

Is there any way to look for two different words and then stop if either is
found?

i.e. something like...

With Selection.Find
.Text = "first" or "last"
.Forward = True
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = True
.MatchSoundsLike = False
.MatchAllWordForms = False
End With

Selection.Find.Execute

Thanks
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop formats to multiple words when one word is selected? Paul Freeman Microsoft Word Help 1 May 18th 05 06:39 PM
Finding, cutting and pasting multiple words and paragraphs with ma Nexan Microsoft Word Help 6 March 2nd 05 05:49 PM
I am looking for Word's TOC and TOA Generator, where will I find t Cocostar Microsoft Word Help 1 January 12th 05 10:15 PM
Multiple docs open multiple words Ron Smith New Users 2 December 11th 04 09:21 PM
Recurring words/phrases Pegge New Users 1 December 9th 04 02:08 AM


All times are GMT +1. The time now is 05:15 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"