In this article, we would like to introduce you with 4 ways to quickly add multiple rows or columns to an existing Word table.
Every so often, we would find additional rows or columns are needed for an existing table. Certainly, there are a number of methods to realize it. And we here provide you 4 quick ways to do that.
Method 1: Add Multiple Rows with “Tab” Key
- Firstly, put your cursor outside the end of the last row of a table.
- Then press “Tab” key to get as many rows as you need.
Method 2: Add Multiple Rows or Columns with Contextual Menu
- At first, select a number of rows or columns.
- Next right click and choose “Insert”.
- Then choose the right command as you need. The number of rows or columns is as the same as that of the rows or columns you selected at the very first.
Besides, there are also the shortcuts for inserting columns. Press “Alt”, “J”, “L”, and “L” can insert columns to the left of the selection. And press “Alt”, “J”, “L”, and “R” can insert columns to the right of the selection.
Method 3: Add Multiple Rows with “Insert Table” Option
- To begin with, click “Layout” and check the column width in “Cell Size” group. And put cursor right at the head of the line below the last row of table.
- Secondly, click “Insert” tab.
- Then click “Table” icon.
- Next, choose “Insert Table” option on the drop-down menu.
- In “Insert Table” dialog box, enter the number of columns and rows. Remember the number of columns as the same as the existing table.
- Then input the column width you get in step 1.
- Click “OK”.
You will find 2 tables automatically merge into one.
Method 4: Add Multiple Rows or Columns with Macro
- First off, select a row then press “Alt+ F11” to trigger the VBA editor.
- Click “Normal” then “Insert”.
- Next choose “Module”.
- Double click on the new module to open the editing area.
- Then paste the following codes:
Sub AddRowsAbove() Dim nNumber As Long If Selection.Information(wdWithInTable) = True Then nNumber = InputBox("Input the number of rows you want to add:", "Add Rows to the selection") Selection.InsertRowsAbove NumRows:=nNumber End If End Sub
- Hit “Run”.
- In the input box, enter the number of rows you want and click “OK”.
Now there will be 2 blank rows above the first row in the table. And if you want to add rows below a selected one, simply change the “InsertRowsAbove” to “InsertRowsbelow”.
Additionally, here is the macro to add columns:
Sub AddColumnsToLeft() Dim nNumber As Long If Selection.Information(wdWithInTable) = True Then Selection.InsertColumns End If End Sub
You should first select a number of columns then run the macro with the steps above. You can then get new columns. The above macro adds columns to the left of the selection. To add columns to the right selection, you need to replace “InsertColumns” with “InseertColumnsRight”.
Take Care of Word Files
There can be errors or mistakes occurring in Word, result in the collapse of the software. More often than not, it’s not only our time that is wasted but also amounts of priceless data. When it gets that far, you will definitely need a tool to recover docx.
Author Introduction:
Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including Excel recovery and pdf repair software products. For more information visit www.datanumen.com