#1
|
|||
|
|||
Splitting Cells in a Very Large Table
Does anyone know if there is a way to select all or specific cells (within a column) to split each cell into 2 rows (cells)? I have a very large table with a different number of cells (rows) in each column. The last column in the table currently contains 256 cells (rows) and I need to add a column that will be even larger (512) cells (rows) to the right. When I went from 128 to 256 rows I split each cell by hand after adding a new column to the right, but 512 is just too much to do individually. I've tried selecting the whole new column or groups of cells, but Word doesn't give the option on right-clicking of splitting cells. I've thought about simply creating a new table of 512 rows and placing it next to the first table but that creates other problems.
Thank you, Paul |
#2
|
|||
|
|||
Use the LAYOUT tab then use the MERGE section of the tab to split cells/tables. When using that option, remember that you have to highlight the cell(s) in order to define the how you want the split in the subsequent menu.
|
#3
|
|||
|
|||
Thanks for the response, but I tried that before and I tried it again after reading your response and it does not let me create any more rows than were merged.
Thanks, Paul |
#4
|
||||
|
||||
The following macro will split all cells in the last column of first table in the document into two rows:
Code:
Sub Demo() Application.ScreenUpdating = False Dim r As Long, c As Long With ActiveDocument.Tables(1) c = .Range.Columns.Count For r = .Rows.Count To 1 Step -1 .Cell(r, c).Split 2, 1 Next End With Application.ScreenUpdating = True End Sub For Mac macro installation & usage instructions, see: http://word.mvps.org/Mac/InstallMacro.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Thanks Paul. I'll give it a try.
Thanks, Paul |
Tags |
splitting cells, tables |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to stop a contents table from splitting over several pages | Hollie | Word | 3 | 12-23-2016 08:26 AM |
Formating Partial cells in a large list | Zajac | Excel | 3 | 08-16-2016 09:13 AM |
Convert large multipage table to jpeg | idiotwind | Word Tables | 3 | 12-01-2015 03:53 AM |
Mail merge at large table with variable number of rows | blar | Mail Merge | 1 | 10-19-2015 03:04 PM |
Preventing cells from splitting into two pages | Jaymond Flurrie | Word VBA | 1 | 05-11-2011 06:54 PM |