In this article, we want to offer you 4 effective ways to distribute rows and columns evenly in your Word table.
By default, when you insert a table, row height and column width are distributed evenly. But as you input texts and numeric data into table cells, each row and column takes different height and width. This diminishes visual effect more or less. Therefore, we are delighted to show you approach to distribute tows and columns evenly.
Method 1: Distribute Rows and Columns with Command in the Ribbon
- First of all, put cursor inside the target table.
- Then click on the plus sign on the upper left corner of the table to select it.
- Next click “Layout” under “Table Tools”.
- In “Cell Size” group, click “Distribute Rows” to set row height equally. And then click “Distribute Columns” to set column width evenly.
Method 2: Distribute Rows and Columns with Contextual Menu
- Repeat the first 2 steps in method 1 to select table.
- Next right click and click “Distribute Rows Evenly” and “Distribute Columns Evenly”.
Method 3: Distribute Rows and Columns by Specifying Height and Width
- Similarly, repeat first 2 steps in method 1 to select table.
- Then right click on table to choose “Table Properties” on contextual menu.
- In the box open, click “Row” tab first.
- Then check the “Specify height” box and enter a value.
- Remember to choose “Exactly” for the row height.
- Next click “Column” tab.
- Likewise, check “Preferred width” box and then enter a width value.
- Lastly, click “OK”.
Method 4: Distribute Rows and Columns in All Tables in the Document via VBA
Above 3 methods all focus on distributing rows and columns in a single table. This way below shall allow you to batch process all tables in a document at one time.
- To start off, press “Alt+ F11” to trigger VBA editor.
- Next click “Normal” project on the left column.
- Then click “Insert”.
- And choose “Module” on its drop-down menu.
- Double click on new module to open it and paste following macro there:
Sub DistributeSameColumnWidthAndRowHeight() ' Check if there are any table in the document. If ActiveDocument.Tables.Count > 0 Then Dim objTable As Table For Each objTable In ActiveDocument.Tables objTable.Select ' Distribute same column width for table. objTable.Range.Cells.DistributeWidth ' Distribute same row height for table. objTable.Range.Cells.DistributeHeight Next Else MsgBox ("There is no table in this document!") End If End Sub
- Last but not the least, click “Run”.
Then you can find rows and columns in all tables in this document are distributed evenly.
Address Word Errors
Now and then, we run into Word issues, such as corrupt word and broken documents. Under such circumstances, we must take action immediately to fix problems as to minimize the downtime and economic cost. And our best choice is to purchase an excellent repairing tool.
Author Introduction:
Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including recover xlsx and pdf repair software products. For more information visit www.datanumen.com