Skip to main content

Kutools for Office β€” One Suite. Five Tools. Get More Done.

How to select all tables in a Word document?

Author Sun Last modified

It's easy to select a single table in Word by clicking the Table selection icon button in the top-left corner of the table, as shown below. You can also use the "Select Table" feature. However, if you need to select all tables in a Word document at once, the following methods will help you do it efficiently.

Table selection icon in the upper-left corner of the table

Select all tables in Word with VBA code
Easily select all tables with Kutools for Word


Select all tables in Word with VBA code

This method allows you to select all tables in a Word document using a simple VBA code. Follow the steps below to quickly select every table in your document.

  1. Press Alt + F11 to open the "Microsoft Visual Basic for Applications" window.
  2. In the VBA window, click "Insert" > "Module", then copy and paste the following code into the module:
    Sub selecttables()
    Dim mytable As Table
    
    For Each mytable In ActiveDocument.Tables
    	mytable.Range.Editors.Add wdEditorEveryone
    Next
    ActiveDocument.SelectAllEditableRanges (wdEditorEveryone)
    ActiveDocument.DeleteAllEditableRanges (wdEditorEveryone)
    End Sub
  3. Press F5 to run the code.
  4. All tables in the current document will be selected immediately.

Easily select all tables in Word with Kutools for Word

Compared to using VBA, the "Select Tables" utility in Kutools for Word is a much more user-friendly method. It allows you to select tables in a specific range or throughout the entire document with just a few clicks: "Kutools" > "Tables" > "Select Tables".

Kutools for Word, equipped with AI πŸ€–, offers over 100 handy features to simplify your tasks.
Select Tables option on the ribbon
  • To select tables in a specific section, highlight the section first, then go to "Kutools" > "Tables" > "Select Tables".
    Select Tables option on the ribbon
  • To select all tables in the entire document, click "Kutools" > "Tables" > "Select Tables" without selecting any specific section.
    Tables in the entire document are selected
Kutools for Word is the ultimate Word add-in that streamlines your work and boosts your document processing skills. Get It Now!

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

πŸ€– Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...

πŸ“˜ Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...

✏ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...

βž• Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...

πŸ” Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...

⭐ Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...

🌍 Supports 40+ Languages: Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Kutools and Kutools Plus tabs on the Word Ribbon
πŸ‘‰ Want to try these features? Download Kutools for Word now! πŸš€
 

✨ Kutools for Office – One Installation, Five Powerful Tools!

Includes Office Tab Pro Β· Kutools for Excel Β· Kutools for Outlook Β· Kutools for Word Β· Kutools for PowerPoint

πŸ“¦ Get all 5 tools in one suite | πŸ”— Seamless integration with Microsoft Office | ⚑ Save time and boost productivity instantly

Best Office Productivity Tools

Kutools for Word - 100+ Tools for Word