DEV Community

Oscar Sun(孫守真字任真)
Oscar Sun(孫守真字任真)

Posted on

Answer: How to determine the cell size of a nested table cell in VBA for Microsoft Word?

Height property returns 9999999 because the HeightRule default to the WdRowHeightRule.wdRowHeightAuto(ie. = 0). It doesn't matter if it's a nested table or not. So if you want to get the exact value of the Height property, You first should set the value of HeightRule to not wdRowHeightAuto(wdRowHeightExactly =2 or…

Top comments (0)