Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 02-11-2019, 01:53 PM
macropod's Avatar
macropod macropod is offline How to find text frame in Word Document ? Windows 7 64bit How to find text frame in Word Document ? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find text frame in Word Document ? Find and highlight text in MS Word document containing word Jovan Yong Word VBA 5 04-09-2018 02:59 AM
How to find text frame in Word Document ? how to get a startpage like at word 2010 (text frame at margins) hauswalter Word 11 10-20-2015 02:38 AM
How to find text frame in Word Document ? Trouble fomatting a frame - top of letter cut off in frame - line spacing gandalf458 Word 4 12-10-2014 03:04 AM
How to find text frame in Word Document ? Cannot get rid of a border in a frame or text box blockie Word 2 08-21-2014 07:51 PM
How to find text frame in Word Document ? Converting plain text to text box/frame peacespotting Word 1 08-08-2013 10:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft