Jay Freedman was telling us:
Jay Freedman nous racontait que :
>> JS was telling us:
>> JS nous racontait que :
[quoted text clipped - 27 lines]
>
> The code for the general case is quite a mess.
Right, had forgotten about that.
In that case, if there aren't any merged cells, we can use this workaround:
'_______________________________________
Sub GetRowHeight()
Dim lngRowHeightType As Long
Dim sngRowHeight As Single
Dim tblTarget As Table
Set tblTarget = ActiveDocument.Tables(1)
With tblTarget.Rows(5)
'Get Height
If .Height = wdUndefined Then
'Save current setting
lngRowHeightType = .HeightRule
.HeightRule = wdRowHeightExactly
sngRowHeight = .Height
.HeightRule = lngRowHeightType
Else
sngRowHeight = .Height
End If
MsgBox Format(PointsToInches(sngRowHeight), "#0.00") & " inches tall"
End With
End Sub
'_______________________________________

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Jean-Guy Marcil - 29 Sep 2006 12:57 GMT
Jean-Guy Marcil was telling us:
Jean-Guy Marcil nous racontait que :
> Jay Freedman was telling us:
> Jay Freedman nous racontait que :
[quoted text clipped - 34 lines]
> In that case, if there aren't any merged cells, we can use this
> workaround:
Ooops... forget about that...
I just realized that this always gives the same result, i.e 12 points high,
regardless of the actual cell height.
I thought I could just adapt some code I had for dealing with table width...
but apparently not!
Sorry about that!

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
JS - 30 Sep 2006 19:46 GMT
Hi Jean-Guy and Jay:
Thanks you for your effort in lokking into this - I appreciate you time.
I've tested Helmut's solution and it works for me :)
Again, thanks for your help - rgds, JS
> Jean-Guy Marcil was telling us:
> Jean-Guy Marcil nous racontait que :
[quoted text clipped - 53 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org