Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word table
Message
From
29/02/2000 09:48:07
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00338388
Message ID:
00339074
Views:
19
Thanks for the reply, but when I type text in my cell and the cell growth with the length of text, the height of the cell is the same as I have defined my table. The height is 12 for a font size of 12. I change the height only by resizing the row with the mouse and I want to make that by programming.
(perhaps it' a bug of word???)

vba example

ActiveDocument.Tables(1).Rows.HeightRule = wdRowHeightAtLeast
For i = 1 To 4
MsgBox ActiveDocument.Tables(1).Rows(i).Height
ActiveDocument.Tables(1).Cell(i, 1).Select
Selection.InsertAfter ("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")
MsgBox ActiveDocument.Tables(1).Rows(i).Height
Next i



Thanks to advance
Previous
Reply
Map
View

Click here to load this message in the networking platform