changing Default cell margins left in Word 2000 Table

S

steve

Hi All

How do I access the Default cell margins Left properties in word 2000 tables
in VBA (VB6)

(i.e same as if I selected the table in word, then properties, options)

regards
Steve
 
D

Doug Robbins

ActiveDocument.Tables(1).LeftPadding = PixelsToPoints(40, False)

Ditto for BottomPadding, RightPadding, TopPadding

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
Top