How to change style of all tables in word?
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.
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.
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 to select the table style you want to change in the document. See screenshot:
3. After selecting the table style, you will see the table style is changed. See screenshot:
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.
Recommended Word Productivity Tools
- 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, 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...
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 2 years agoThanks so much for the tip. The VBA option worked great.
- To post as a guest, your comment is unpublished.· 3 years agoHi - 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.