Right tab pushes text into right margin

H

HelenaB

I have a paragraph that is fully justified with a right tab that is used at
the end of the paragraph followed by a short code in parenthasis, eg
"(TM203)". I am running VBA to remove a word before the right tab, eg "[HSL]"
and once this is removed the remaining right tab pushes some of the code
following the tab into the right margin. How do I prevent this happening and
get the text following the tab to wrap to the following line if necessary?
 
S

Suzanne S. Barnhill

When you tab to a right-aligned tab stop, any text you enter will pile up at
that tab stop until you insert another tab character, a line break, or a
paragraph break.
 
H

HelenaB

Hi Suzanne

The text isn't actually piling up but simply continuing into the right
margin and not wrapping to the next line which is what it should do. I don't
want to have to add tabs, line breaks or paragraph breaks manually once I've
run the VBA. I would rather that the text behaves after the tab.

Any ideas?

Helena

Suzanne S. Barnhill said:
When you tab to a right-aligned tab stop, any text you enter will pile up at
that tab stop until you insert another tab character, a line break, or a
paragraph break.



HelenaB said:
I have a paragraph that is fully justified with a right tab that is used at
the end of the paragraph followed by a short code in parenthasis, eg
"(TM203)". I am running VBA to remove a word before the right tab, eg "[HSL]"
and once this is removed the remaining right tab pushes some of the code
following the tab into the right margin. How do I prevent this happening and
get the text following the tab to wrap to the following line if necessary?
 
S

Suzanne S. Barnhill

When you use a right tab stop, the only way to put text *after* the tab stop
is to insert a line break, paragraph break, or tab character following the
text. That is, if the text after the tab character won't fit on the same
line, it should wrap to the next; but once it's filled an entire line,
that's the best Word can do, and it's going to extend beyond the right
margin until you insert a tab, line break, or paragraph break.



HelenaB said:
Hi Suzanne

The text isn't actually piling up but simply continuing into the right
margin and not wrapping to the next line which is what it should do. I don't
want to have to add tabs, line breaks or paragraph breaks manually once I've
run the VBA. I would rather that the text behaves after the tab.

Any ideas?

Helena

Suzanne S. Barnhill said:
When you tab to a right-aligned tab stop, any text you enter will pile up at
that tab stop until you insert another tab character, a line break, or a
paragraph break.



HelenaB said:
I have a paragraph that is fully justified with a right tab that is
used
at
the end of the paragraph followed by a short code in parenthasis, eg
"(TM203)". I am running VBA to remove a word before the right tab, eg "[HSL]"
and once this is removed the remaining right tab pushes some of the code
following the tab into the right margin. How do I prevent this
happening
and
get the text following the tab to wrap to the following line if necessary?
 
Top