![]() |
#3
|
|||
|
|||
![]()
Hi, macropod
Thanks for your help! May I know how to get specific word from text frame? These are the codes that I have tried Code:
Sub Frame() Dim oTxt As TextRange2 Dim oTxt2 As TextRange2 MsgBox ActiveDocument.Frames(1).Range.Text Set oTxt = ActiveDocument.Frames(1) Set oTxt2 = oTxt.Find("Technology",True) If Not oTxt2 Is Nothing Then MsgBox "Something" End If End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Jovan Yong | Word VBA | 5 | 04-09-2018 02:59 AM |
![]() |
hauswalter | Word | 11 | 10-20-2015 02:38 AM |
![]() |
gandalf458 | Word | 4 | 12-10-2014 03:04 AM |
![]() |
blockie | Word | 2 | 08-21-2014 07:51 PM |
![]() |
peacespotting | Word | 1 | 08-08-2013 10:39 PM |