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
Klaus Linke - 23 Nov 2005 01:45 GMT
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
> In Word 2000 I have a table with 3 columns. I wrote a macro that can be
> run
[quoted text clipped - 10 lines]
>
> Vivian