S
spunkymuffmonkey
Hi all,
I have a problem and wondered if anybody can offer me any advice.
When copying and pasting entire rows from one table to another I sometimes
hit an column alignmnet problem.
To explain (I'll be as brief as I can) we use documents to record client
info that we call a 'Running Record' (RR), these Running Records are word
docs with a table in, the tables have 4 columns and can have any number of
rows depending upon the case.
To complicate matters we have two versions of the running record in use.
both versions have 4 columns, but the widths of these columns are different
and when copying a table row from an old RR to a new or vica versa, the
column alignment gets screwed up, normally resulting in something like the
representation below:
|______|______|______|______|
|______|______|______|______|
|______|______|______|______|
|______|______|______|______|
|______|______|______|______|
Unfortunately, the screw up results (in print layout view) to blow the
columns off the page and looks a mess.
Having rooted around programmatically, nearest thing I can find to fixing it
was the SetLeftIndent method looped through each row:
oRow.SetLeftIndent LeftIndent:=-3.6, RulerStyle:=wdAdjustNone
and although this makes the table look a little better it does not
straighten and align all column widths as perfect as Iw ould like.
Could anybody tell me any other method or shed any light how to prevent or
resolve this annoying issue I have.
Many thanks for looking
I have a problem and wondered if anybody can offer me any advice.
When copying and pasting entire rows from one table to another I sometimes
hit an column alignmnet problem.
To explain (I'll be as brief as I can) we use documents to record client
info that we call a 'Running Record' (RR), these Running Records are word
docs with a table in, the tables have 4 columns and can have any number of
rows depending upon the case.
To complicate matters we have two versions of the running record in use.
both versions have 4 columns, but the widths of these columns are different
and when copying a table row from an old RR to a new or vica versa, the
column alignment gets screwed up, normally resulting in something like the
representation below:
|______|______|______|______|
|______|______|______|______|
|______|______|______|______|
|______|______|______|______|
|______|______|______|______|
Unfortunately, the screw up results (in print layout view) to blow the
columns off the page and looks a mess.
Having rooted around programmatically, nearest thing I can find to fixing it
was the SetLeftIndent method looped through each row:
oRow.SetLeftIndent LeftIndent:=-3.6, RulerStyle:=wdAdjustNone
and although this makes the table look a little better it does not
straighten and align all column widths as perfect as Iw ould like.
Could anybody tell me any other method or shed any light how to prevent or
resolve this annoying issue I have.
Many thanks for looking