How to fix left alignment of one row

V

Vivian Carroll

In Word 2000 I have a table with 3 columns. I wrote a macro that can be run
to reset the table alignment and column widths if the user messes them up.
(For example, Table indentation of -.05", Column 1 = .5", column 2 = 1" and
column 3 = 3".) However, what I can't seem to do is write a macro that
fixes only one row. For example all rows are correct except the second one
where the user dragged the row's left margin to 0 instead of -.05. I can
reset the cells to the correct widths but I can't make the row then move
back to align -.05. Is there a way to do this?

TIA,

Vivian
 
K

Klaus Linke

Hi Vivian,

Doesn't
myRow.LeftIndent=InchesToPoints(-0.5)
work?

(BTW, I consider it a bug that the interface -- the Table properties
dialog -- suggests that the left indent is a table property, when it's
really a row property)

Regards,
Klaus
 

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