![]() |
|
#6
|
||||
|
||||
|
You could use .Find - but only if you know what the word is. But, if you know what the word is, why are you trying to .Find it? Alternatively, you could use Instr. For example:
If Instr(ActiveDocument.Frames(1).Range.Text, "Technology")> 0 Then With such a test, you can establish whether the word 'Technology' is present - and even where it starts in the frame.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and highlight text in MS Word document containing word
|
Jovan Yong | Word VBA | 5 | 04-09-2018 02:59 AM |
how to get a startpage like at word 2010 (text frame at margins)
|
hauswalter | Word | 11 | 10-20-2015 02:38 AM |
Trouble fomatting a frame - top of letter cut off in frame - line spacing
|
gandalf458 | Word | 4 | 12-10-2014 03:04 AM |
Cannot get rid of a border in a frame or text box
|
blockie | Word | 2 | 08-21-2014 07:51 PM |
Converting plain text to text box/frame
|
peacespotting | Word | 1 | 08-08-2013 10:39 PM |