Hi!
There ara several frames in my doc. Some of them are pictures and some of them are contain text.
I want to find if it contain text. How should I use the “instr” command?
Thanks in advance.
Sub LoopFrames() Dim frm As Frame For Each frm In ActiveDocument.frames frm.Select hah = frm.Range.Text ********* THIS LINE İS MY PROBLEM**** if instr(hah, “[a-zA-Z]”) >0 Then ‘or I want to do this line If hah.Text Like “[a-zA-Z]” = True Then ********************************* MsgBox hah End If Next frm End Sub