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/delete all tables from a document in Word

Remove all tables in Word is usually applied in daily office working, and how can you quickly remove all tables? This tutorial will introduce three simple ways for you to remove all tables.

Remove all tables manually in Word

Remove all tables with VBA

Remove all tables with Kutools for Word


arrow blue right bubble Remove all tables manually in Word

Hot
Amazing! Use Efficient Tabs in Word (Office) like Chrome, Firefox and New Internet Explorer!

Read more Free download

If there are only tables in the document, you can remove all tables by clicking Ctrl+A to select the whole document and click Backspace. But if there are text and table mixed in the document, you need to select and delete the tables one by one until all the tables are deleted.


arrow blue right bubble Remove all tables with VBA

Compare with removing tables one by one manually, running VBA code will be easier.

1: Press Alt+F11 to open the Microsoft Visual Basic for Applications window;

2: Click Module from Insert tab, copy and paste the following VBA code into the Module window;

3: Click Run  button or press F5 to apply the VBA.

The VBA code on removing all tables:

Sub Removetables ()
Dim oTable As Table
Each oTable In ActiveDocument.Tables
oTable.Delete
Next oTable
End Sub


arrow blue right bubble Remove all tables with Kutools for Word

Running VBA may be a little complex and difficult for some computer users, while Kutools for Word's Remove Tables utility is very convenient and simple for everyone to remove all tables from the document.

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!

1. Click Kutools > More > Remove Tables, see screenshot:

2. A pop-up Remove Tables dialog will display to remind you the removing of the tables, click Yes to remove all tables, or No to pause this operation. See screenshot:

3. Now you will see the result as shown in the below screenshots:

doc-arrow
doc-remove-all-tables-4

Note: Kutools for Word’s Remove Tables utility not only can remove all tables from the whole document but also remove all tables from a selected part of the document.

Please click here to get more information about Remove Tables.


Relative articles:


Recommended Productivity Tools

shot kutools word kutools tab 1180x121
shot kutools word kutools plus tab 1180x120
 

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

  • Complicated and repeated operations can be done a one-time processing in seconds.
  • Insert multiple images across folders into Word document at once.
  • Merge and combine multiple Word files across folders in to 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.
    Anon · 3 years ago
    The keyword For is missing from the line number 3.
    The correct code is:

    Sub Removetables ()
    Dim oTable As Table
    [b]For[/b] Each oTable In ActiveDocument.Tables
    oTable.Delete
    Next oTable
    End Sub
  • To post as a guest, your comment is unpublished.
    Daniel · 4 years ago
    The VBA code does not work. I get "Compile error: Syntax error".