Skip to main content

How to change style of all tables in word?

Author: Amanda Li Last Modified: 2020-06-05

If you copy some tables from other document, you may need to apply same style to these tables. It is time-consuming and tedious to select all tables one by one for changing style. This tutorial will introduce you two easy methods to change style of all tables in word.

Change style of all tables with VBA

Change style of all tables with Kutool for Word


Change style of all tables with VBA

We can use VBA to change style of all tables.

1. Press Alt+F11 to open the VBA window in Word;

2. Click Module in Insert tab, and insert the VBA code into Module window;

VBA code: change style of all tables

Sub ApplyTableStyle()
Dim t As Table
For Each t In ActiveDocument.Tables
t.Style = "Light Shading - Accent 3" 
Next 
End Sub

Note: In the above code, Light Shading - Accent 3 is the name of style, you can change it to your need.

3. Press F5 key to run this code,  and all tables have been changed to your specified style.


Change style of all tables with Kutool for Word

If you don’t want to use the VBA, you can also get it done quickly with Kutools for Word. After you have installed Kutool for Word, you can quickly change style of all tables. Do as follows:

Kutools for Word : with more than 100 handy Word add-ins, free to try with no limitation in 60 days. 

1. Please apply this utility by clicking Kutools > Tables > Select Tables. See screenshot:

Note: If you want to use Select Tables feature to select all tables in the whole word document, please put the cursor outside any tables first.

2. After selecting all tables, click Design on the ribbon and then click doc change table style 2 to select the table style you want to change in the document. See screenshot:

doc change table style 2

3. After selecting the table style, you will see the table style is changed. See screenshot:

doc change table style 3

What’s more, you also can use this utility to select all tables for changing the borders, shading and properties of all tables at once.

Click to download Kutools for Word and free trial now!


Demo: List and edit all hyperlinks in Word

Kutools for Word: with more than 100 handy Word add-ins, free to try with no limitation in 60 days. Download and free trial now!

Best Office Productivity Tools

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

🤖 Kutools AI Assistant: Transform your writing with AI - Generate Content  /  Rewrite Text  /  Summarize Documents  /  Get Quick Answers, all within Word

📘 Document Mastery: Split Pages  /  Merge Documents  /  Export Selection in Various Formats (PDF/TXT/DOC/HTML...)  /  Batch Convert to PDF  /  Export Pages as Images  /  Print Multiple Files at once...

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  /  All Headers  /  Text Boxes  /  Hyperlinks  /  For more removing tools, head to the Remove group...

Creative Inserts: Insert Thousand Separators  /  Check Boxes  /  Radio Buttons  /  QR Code  /  Barcode  /  Diagonal Line Table  /  Equation Caption  /  Image Caption  /  Table Caption  /  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...

👉 Want to try these features? Download Kutools for Word now! 🚀
 
Comments (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Huge thank you.
Even in 2022, the VB script still works
This comment was minimized by the moderator on the site
Thanks so much for the tip. The VBA option worked great.
This comment was minimized by the moderator on the site
Hi - I used "Change style of all tables with VBA" in Word 2010 on my entire document but it made general text bold and headings not bold. How to I remove/disable the VBA? Everytime I try to use a table design manually, the VBA takes over and then I'll have to manually change the headings and text back. Obviously I'm not familiar with VBA/macros so any help is appreciated. Thanks
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations