Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
D7666 D7666 is offline
external usenet poster
 
Posts: 7
Default Left and right justified text on one line

Not sure if this is the right sub-forum of microsoft.public.word but
here goes anyway.

I am using Word 97 SR-1 updated to SR-2 on a ME windows machine.

What I am wanting to do is to take a single line of text with only a
few words - no more than half a dozen at the most - and split this so
some of the words are left justified and some of the words are right
justified. Example -

I want to alter the text string

AAA BBB CCC DDD EEE FFF

to look like

AAA BBB CCC ---- to the left ----- maximum space ---- to the right
------ DDD EEE FFF

all on one line.

Now, obviously I know I can do this by inserting tabs and spaces - but
is there a way I can do this as a format, so that the left hand text
always starts from the left, and the right hand text is always as far
to the right as possible ?

I've been fiddling with this for some time, can't seem to figure it
out.

Is there a way to do this in Word 97 ?

If it needs a macro to do it, I am OK with using these.

TIA.

--
Nick

  #2   Report Post  
Posted to microsoft.public.word.pagelayout
D7666 D7666 is offline
external usenet poster
 
Posts: 7
Default Left and right justified text on one line


D7666 wrote:


AAA BBB CCC ---- to the left ----- maximum space ---- to the right
------ DDD EEE FFF

all on one line.



I just read over that , not sure if I made it clear.

AAA BBB CCC need to be fully to the left starting from the left margin
with no more than a single space between them, while DDD EEE FFF need
to be fully to the right with only a single space between them.

CCC and DDD need to be seperated by the biggest gap possible.

--
Nick

  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Shauna Kelly Shauna Kelly is offline
external usenet poster
 
Posts: 571
Default Left and right justified text on one line

Hi

The normal way to do this is to set a right-aligned tab at the right margin.
Then, cick after CCC and press Tab.

If you were going to automate it in some way, you would still need to
identify, for each paragraph, what was to be to the left and what was to be
to the right. So at a minimum, you'd need to click in the appropriate spot
and 'mark' it in some way. Since that effort is no greater than clicking and
pressing Tab, I can't see any advantage in trying to automate it.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"D7666" wrote in message
ups.com...

D7666 wrote:


AAA BBB CCC ---- to the left ----- maximum space ---- to the right
------ DDD EEE FFF

all on one line.



I just read over that , not sure if I made it clear.

AAA BBB CCC need to be fully to the left starting from the left margin
with no more than a single space between them, while DDD EEE FFF need
to be fully to the right with only a single space between them.

CCC and DDD need to be seperated by the biggest gap possible.

--
Nick



  #4   Report Post  
Posted to microsoft.public.word.pagelayout
D7666 D7666 is offline
external usenet poster
 
Posts: 7
Default Left and right justified text on one line


Shauna Kelly wrote:


Hi

The normal way to do this is to set a right-aligned tab at the right margin.
Then, cick after CCC and press Tab.


ahhh - right aligned tab, is that what it is called - this was part of
my problem, not knowing what to search for.

Let me give this a try early in a couple of days, when I'm back working
on it.

pressing Tab, I can't see any advantage in trying to automate it.


I have a 1.2 MB document in which it needs doing in about 400 locations
.... hence my interest in macros ... will have to figure out a way that
might help.


--
Nick

  #5   Report Post  
Posted to microsoft.public.word.pagelayout
D7666 D7666 is offline
external usenet poster
 
Posts: 7
Default Left and right justified text on one line


Shauna Kelly wrote:

The normal way to do this is to set a right-aligned tab at the right margin.



Hi,

I have returned to the problem.

I get the idea of how this should work, once the right aligned tab is
set, that pressing the TAB key at the right point in the paragraph will
do it.

But I do not see how to set a right aligned tab at the right margin.

I do
Format
Tabs
check right alignment
but on press TAB the actual tab goes in the paragraph in exactly the
same way as if I had not checked the right alignment box.

Is there some other setting I should look at ?


TIA.

--
Nick



  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Left and right justified text on one line

The easiest way to set tab stops is on the ruler. For an explanation, with
screen shots, see http://word.mvps.org/faqs/formatting/UsingRulers.htm and
http://word.mvps.org/faqs/formatting/SettingTabs.htm. If you use the Tabs
dialog box, you must enter a position setting for your tab stop before/after
selecting the type and before clicking OK (you can set multiple tabs in one
go if you click Set after each one). If you are using Word's default
margins, a tab stop at the right margin would be at 6".

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"D7666" wrote in message
oups.com...

Shauna Kelly wrote:

The normal way to do this is to set a right-aligned tab at the right

margin.


Hi,

I have returned to the problem.

I get the idea of how this should work, once the right aligned tab is
set, that pressing the TAB key at the right point in the paragraph will
do it.

But I do not see how to set a right aligned tab at the right margin.

I do
Format
Tabs
check right alignment
but on press TAB the actual tab goes in the paragraph in exactly the
same way as if I had not checked the right alignment box.

Is there some other setting I should look at ?


TIA.

--
Nick


  #7   Report Post  
Posted to microsoft.public.word.pagelayout
D7666 D7666 is offline
external usenet poster
 
Posts: 7
Default Left and right justified text on one line


Suzanne S. Barnhill wrote:
The easiest way to set tab stops is on the ruler. For an explanation, with
screen shots, see http://word.mvps.org/faqs/formatting/UsingRulers.htm and
http://word.mvps.org/faqs/formatting/SettingTabs.htm. If you use the Tabs
dialog box, you must enter a position setting for your tab stop before/after
selecting the type and before clicking OK (you can set multiple tabs in one
go if you click Set after each one). If you are using Word's default
margins, a tab stop at the right margin would be at 6".


Hi,

Those are excellent clear links to follow ... and have advancing my
problem ...

.... but I am still not getting this to work as I think it should.

My understanding and use of tabs has always been exactly as in those
links - that one should never use multiple tabs or spaces to create
long gaps for exactly the reason if the document goes somewhere else
messes up. Following those hints, I can now set a right hand tab stop
on the right margin. In this case it is a special page set up - the r/h
margin is at 18.00 cm but I do not think this is relevant. I can set
it, and split the text in the paragraphs I need to, and it does what it
should, the right text is right justified.

Fine ... but the whole reason I need to do this correctly is the global
page set up is almost certainly going to be altered from the present
18.00 cm right margin to something else. If I set up a right justified
tab at 18.00 cm - and then change the page set up to either a wider or
narrower page, the tab stop is staying fixed at 18.00 cm. My right
justfied text is either beyond the margin if the page set up is
narrower, or no longer fully to the right if the page is wider.

This is the root of the problem - it needs to stay justified with
respect to the right margin, not fixed at 18.00 cm.

I hope I am not testing your patience too much here. I have been using
Word 97 for 8 years now - and never in all that time have I got so
bogged down with something like this.

--
Nick

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:50 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"