Discussion Locked

Microsoft Word 97 Macro to find a Frame

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I often copy and paste Web site portions into Word 97.
Some sites have portions with links and/or pictures. These portions contain frames (not tables, frames) that I would want to eliminate.
Is there a neat way to make a macro searching for frames and deleting them?
Thank you in advance.

1 reply

by dklippert

Sub FrameSmasher()
? 10/23/2001 by Doug Klippert
For Each aFrame In ActiveDocument.Frames
aFrame.Delete
Next aFrame
End Sub

This discussion is closed to new replies.