Can a footer copy text from document?

G

Guest

Can I create a table (with no form fields) and designate a specific cell as
special... So that once that cell has text entered into it, Word will grab
that text and drop it into a designated area of the footer?

I am using MS Office XP Small Business with Word 2002, although other users
with different versions will access this document.
 
G

Guest

Do you want the text to appear only in the footer of the same page as the
table cell? If this is the case, you could format the text in the table cell
with a certain style. In the desired location in the footer, insert a
STYLEREF field as follows:

1. Press Ctrl+F9 to insert a set of field braces.
2. Between the braces, type:
STYLEREF "MyStyle"
MyStyle must be the name of the style used in the table cell.
3. Press F9 to update the field (if this does not toggle field codes, press
Alt+F9).

A STYLEREF field inserted in a footer (or header) prints the first (or last)
text formatted with the specified style on the current page. The field is
automatically updated whenever you change the text in the document.

For further details about the STYLEREF field, search for “Field codes:
StyleRef field†in the online help of Word. See also this article:
http://sbarnhill.mvps.org/WordFAQs/StyleRef.htm#FormField

See this article for tips on different ways to repeat data:
http://gregmaxey.mvps.org/Repeating_Data.htm


--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 
G

Guest

Lene, awesome, thanks. I actually want this piece of text to appear in the
footer of the first page *and* all subsequent pages (or maybe all but the
final page).

Is there a way to do this?
 
G

Guest

Actually, at STYLEREF field repeats the same text on all subsequent pages
until another occurrence of the specified style is found (my first sentence
in the previous post was unclear). Therefore, if your table cell is on page 1
and if you do not use the special table cell style in any other places in the
document, the STYLEREF field should automatically repeat the text on every
page in the document.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 
G

Guest

I forgot the last part: If you want to eliminate the text of the STYLEREF
field on the last page, you could make a field construction as follows:

{ if { PAGE} < { NUMPAGES } {STYLEREF “MyStyle†} }

As you can see, it consists of one field that includes 3 other fields. You
already have the STYLEREF field. The PAGE field returns the number of the
current page. The NUMPAGES field returns the total number of pages in the
document. The construction says that if the actual page number is smaller
than the total number of pages, the result of the STYLEREF field must be
shown, else not. The field will still be on the last page but it will not
display any text (you can see the field only when field codes are shown).

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 
S

Suzanne S. Barnhill

And to omit it on the last page, insert on that page an empty paragraph (or
some Hidden text) in the paragraph or character style being picked up by the
StyleRef field.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Maybe you can answer my questions. In law firms, they use the term
blacklining within a document. Is this similar to redlining and if so,
please tell me how it's done. I posted this question a while ago and haven't
receive a answer. Can you please help me?
Thank you. You can email me at: (e-mail address removed)
 
T

Terry Farrell

Blacklining is just a term for marking changes made to a document. Just open
the Reviewing Toolbar and enable Track Changes. Now make changes to the
document and you will see it in action. (Though note that it is now much
more sophisticated than just black lines under the changed parts.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top