Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to remove all frames in Word?

Frames are used to position text or graphics that contain certain items. How to insert frames into Word document? But sometimes frames make the document hard to edit because all text are placed inside frames. How to easy remove frames from document in Word?

Manually remove frames from document one by one

Remove all frames from document with VBA code

Remove all frames from document in one click with Kutools for Word


arrow blue right bubbleManually remove frames from document one by one

Users can manually remove single frame. As the following steps:

Step 1: Select the frame you want to remove;

Step2: Right-click and then click Format Frame.

doc-removeframe-1

Step 3: Click Remove Frame in Frame dialog box.

doc-removeframe-2

If there are too many frames to remove, using this way will waste your time.


arrow blue right bubbleRemove all frames from document with VBA code

VBA code can quickly remove all frames from document, do as follows:

Step 1: Press Alt+F11 to open VBA window;

Step 2: Click Module from Insert tab, put the code into Module window;

Step 3: Click Rundoc-reverse-sign-6 button or press F5 to apply the VBA.

The VBA code to remove all frames:

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


arrow blue right bubbleRemove all frames from document in one click with Kutools for Word

Kutools for Word provides the function to remove all frames, and you just need to click once.

Kutools for Word, a handy add-in, includes groups of tools to ease your work and enhance your ability of processing word document. Free Trial for 45 days! Get It Now!

Click Kutools > click Remove All in Clear group > click Remove Frames from drop down list. See screenshot:

doc-removeframe-3

For more information about Remove Frames, please visit: Remove Frames feature description.




Recommended Word Productivity Tools

 

Kutools For Word - More Than 100 Advanced Features For Microsoft Word, Save Your 50% Time

  • Complicated and repeated operations can be done one-time processing in seconds.
  • Insert multiple images across folders into Word document at once.
  • Merge and combine multiple Word files across folders into one with your desired order.
  • Split the current document into separate documents according to heading 1, section break or other criteria.
  • Convert files between Doc and Docx, Docx and PDF, collection of tools for common conversions and selection, and so on...
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Help please · 1 years ago
    does anyone know a way to undo the VBA change suggested?
  • To post as a guest, your comment is unpublished.
    Horus · 1 years ago
    Worked great for my 40-page doc. Thanks!
  • To post as a guest, your comment is unpublished.
    Martha · 3 years ago
    Hi,
    This would be great if it worked for me! I've got a 13 page document with a 7 page table in a frame. I can't get this to work. I get run time error 4605. When I choose debug, it says the line frm.Delete is the problem.
    Any idea what my problem is? I'd really rather not have to reconstruct this table.
    How do tables get stuck in frames anyway? It makes the table difficult to work with and doesn't seem to serve any purpose.
    Thanks so much,
    • To post as a guest, your comment is unpublished.
      Shaunda · 2 years ago
      I've had frames popping up into my documents for the last several weeks, just randomly. The template that my documents are based off do not use frames, but somehow they're showing up. I'm trying to run this macro but continue to get an error if there is any text in between the different frames. Anyone know why? Either why they're now showing up or why the code won't work?
  • To post as a guest, your comment is unpublished.
    Sharjeel · 3 years ago
    Really Worked thanks :-)
  • To post as a guest, your comment is unpublished.
    RJ Juan · 3 years ago
    Very cool solution! Saved me a lot of time and effort. Thanks!