bipbip86
asked on
Center the text or a picture using WordDocument
I have one more question about manipulating MS Word ... i want to make some text or a picture be centered in a table cell .. or just in a Range somewhere. How can i do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
... the last line should be
WordDocument.Tables.Item(i + 1).Cell(1, 1).VerticalAlignment:=wdCe llAlignVer ticalCente r;
my mistake.
WordDocument.Tables.Item(i
my mistake.
ASKER
WordDocument.Tables.Item(1
to center the content vertically:
WordDocument.Tables.Item(1
well ,that's it.
-bipbip.