![]() |
#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] |
Tags |
splitting cells, tables |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
idiotwind | Word Tables | 3 | 12-01-2015 03:53 AM |
![]() |
blar | Mail Merge | 1 | 10-19-2015 03:04 PM |
![]() |
Jaymond Flurrie | Word VBA | 1 | 05-11-2011 06:54 PM |