Remove row height not usefull in a table

A

Alex St-Pierre

Hi,
I'm wondering if there's a way to remove all row height space not usefull.
As example, I have a table in excel which contains a line that takes 2 rows
height. After copying the table, this line takes only one row in word but
word let the row height as if it takes 2. Is there a way to resize each row
of a word table (by removing each row height not usefull) to take the minimum
space required?

Thank you!
 
S

Shauna Kelly

Hi Alex

There are potentially several things going on here:

1. Make sure there are no extraneous paragraph marks in the table cells.
Click the ¶ button to be able to view the paragraph marks, and see the
following for more information:
What do all those funny marks, like the dots between the words in my
document, and the square bullets in the left margin, mean?
http://www.word.mvps.org/FAQs/Formatting/NonPrintChars.htm

2. Make sure that there is no inappropriate Space Before or Space After the
paragraphs in the table.

3. You can re-set all rows in the selected table to have Automatic row
height with something like the following:
Sub SetTableRowHeight()

Dim oTable As Word.Table

If Selection.Information(wdWithInTable) Then
Set oTable = Selection.Tables(1)
oTable.Rows.HeightRule = wdRowHeightAuto
End If

End Sub

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
 

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

Top