It did seem to work when I tested it (with the limitations stated in
my previous reply). This also seems consistent with the help topic
titled "Field codes: StyleRef field" (see the "STYLEREF field
location" section at
http://office.microsoft.com/en-us/as...861931033.aspx).
--
Stefan Blom
Microsoft Word MVP
"Suzanne S. Barnhill" wrote in message
...
I don't believe a StyleRef field, even with the \l switch, will work
here
because it is based on text on the current page, not the next page.
--
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.
"Stefan Blom" wrote in message
...
"Herman" wrote in message
oups.com...
Good day,
I work with MS Word documents on a daily basis that is 100+
pages.
The
formatting they require specify that the line numbering must be
on
the
right hand side of the page. Word can only place it on the left
side. I
have created a text box linked to the header with the line
numbering
on
the right. Does anybody know of another way to do this?
I'm afraid there is no other method. If you find it difficult to
get
your custom line numbers to line up with text, consider specifying
a
fixed amount of line spacing (FormatParagraph, Indents and
Spacing
tab) for the text in the text box as well as for the text in the
main
body of the document.
The second problem is that the footer of every page must be the
first word of the next page. Is there an easy way to do this?
Create a character style (with no formatting, based on "underlying
properties") and apply it to the first word of each page. Then add
the
STYLEREF "characterstylename_here" \l (backslash followed by
lowercase
"L") field to the footer.
Note that you cannot control which word is in fact the first on a
page, since pages are created dynamically by Word as you add and
remove text, so you'd better apply the style when document
formatting
is done (and you know what printer driver it will be used with).
Alternatively, also add "Page break before" formatting
(FormatParagraph, Line and Page Breaks tab) to the paragraph
containing the character-styled text.
--
Stefan Blom
Microsoft Word MVP