find/replace frames

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.
 
J

Jay Freedman

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top