4 Effective Ways to Distribute Rows and Columns Evenly in Your Word Table

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.Distribute Rows and Columns Evenly in Your Word Table

Method 1: Distribute Rows and Columns with Command in the Ribbon

  1. First of all, put cursor inside the target table.
  2. Then click on the plus sign on the upper left corner of the table to select it.
  3. Next click “Layout” under “Table Tools”.
  4. In “Cell Size” group, click “Distribute Rows” to set row height equally. And then click “Distribute Columns” to set column width evenly.Select Table->Click "Distribute Rows" and "Distribute Columns"

Method 2: Distribute Rows and Columns with Contextual Menu

  1. Repeat the first 2 steps in method 1 to select table.
  2. Next right click and click “Distribute Rows Evenly” and “Distribute Columns Evenly”.Select Table->Right Click ->Click "Distribute Rows Evenly" or "Distribute Columns Evenly"

Method 3: Distribute Rows and Columns by Specifying Height and Width

  1. Similarly, repeat first 2 steps in method 1 to select table.
  2. Then right click on table to choose “Table Properties” on contextual menu.
  3. In the box open, click “Row” tab first.
  4. Then check the “Specify height” box and enter a value.
  5. Remember to choose “Exactly” for the row height.
  6. Next click “Column” tab.
  7. Likewise, check “Preferred width” box and then enter a width value.
  8. Lastly, click “OK”.Click "Row"->Check "Specify height"->Enter a Height Value->Choose "Exactly"->Click "Column"->Check "Preferred width" Box->Enter a Width Value->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.

  1. To start off, press “Alt+ F11” to trigger VBA editor.
  2. Next click “Normal” project on the left column.
  3. Then click “Insert”.
  4. And choose “Module” on its drop-down menu.Click "Normal"->Click "Insert"->Click "Module"
  5. 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
  1. Last but not the least, click “Run”.Paste Macro->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

Leave a Reply

Your email address will not be published.