Some VBA Codes for Formating Tables
- Step 1: In
Word
->File
->Options
->Customize Ribbon
, checkDeveloper
in ‘Customize the ribbon’ and click ok. - Step 2: In Ribbons, find and click
Developer
->Visual Basic
(Alt
+F11
). - Step 3: In the pop out windows, click
Module
on theInsert tab
, copy and paste the following VBA code into the Module window and click theRun
tab (F5
) to run the macro.
Set table column width
Add Border Lines
Useful Websites
-
The accepted answer in How to Change Column Width for All Word Tables at Once.