With the aid of the macro recorder I've worked out that, with the cursor in a single Word table cell, the following code sets the white space before and after text in the cell:
Code: Select all
With Selection.ParagraphFormat
.SpaceBefore = 12
.SpaceAfter = 6
End With
Code: Select all
With Selection.Rows(1)
.ParagraphFormat
.SpaceBefore = etc
End With
Thanks,
Ken