Adjusting table row height in code


Stefan Blom

If you are saying that you want to set a fixed row height, the following
code should be helpful:

With ActiveDocument.Tables(1).Rows(1)
.HeightRule = wdRowHeightExactly
.Height = InchesToPoints(0.5)
End With

The macro sets the height of the first row in the first table of the
active document to 0.5".

Stefan Blom
Microsoft Word MVP

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question