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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top