find/replace frames

  • Thread starter Thread starter cayce
  • Start date Start date
C

cayce

Is there a way you can use the Find command to find any kind of frame in a
Word document, without giving specific attributes, and then replacing with no
frame?

I can't see how to do this in the Find/Replace dialog. Ideas would be most
appreciated.
 
cayce said:
Is there a way you can use the Find command to find any kind of frame
in a Word document, without giving specific attributes, and then
replacing with no frame?

I can't see how to do this in the Find/Replace dialog. Ideas would be
most appreciated.

It isn't possible with the Find/Replace dialog. It's trivial with a macro,
though:

Sub DeleteFrames()
Dim frm As Frame
For Each frm In ActiveDocument.Frames
frm.Delete
Next
End Sub

See http://www.gmayor.com/installing_macro.htm if needed.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top