Automatically Add A Header to a Forms Document?

P

Papa Tom

Now that I'm pretty good at creating them, I work a lot with forms.

The feature that has helped me most is being able to simply have a
word or phrase I type at the beginning of a document fill in blanks
all over the rest of the page. For example, when I type a recipient's
name in the address line at the beginning of a letter, it will
automatically fill in that name next to "Dear_____" and in several
other places.

What I'd like to do, though, is create a reference to a bookmark so
that information I enter in a certain part of my document will fill in
blanks to create a Header at the top of my page. For example, if I
type a report that has a name like "ABC Investigation" and a file
number such as "09-123," I'd like to be able to enter it once at the
beginning of my document and have it automatically appear in the
Header at the top of each page.

I know how to do this when the target points are NOT in the header.
But does anybody know if and HOW I can accomplish what I'm asking?
 
J

Jay Freedman

Now that I'm pretty good at creating them, I work a lot with forms.

The feature that has helped me most is being able to simply have a
word or phrase I type at the beginning of a document fill in blanks
all over the rest of the page. For example, when I type a recipient's
name in the address line at the beginning of a letter, it will
automatically fill in that name next to "Dear_____" and in several
other places.

What I'd like to do, though, is create a reference to a bookmark so
that information I enter in a certain part of my document will fill in
blanks to create a Header at the top of my page. For example, if I
type a report that has a name like "ABC Investigation" and a file
number such as "09-123," I'd like to be able to enter it once at the
beginning of my document and have it automatically appear in the
Header at the top of each page.

I know how to do this when the target points are NOT in the header.
But does anybody know if and HOW I can accomplish what I'm asking?

Make up a character style and apply it to the place in the text that contains
the first piece of information to be repeated (or to the field where you'll type
that information). Make up another character style and apply it to the next
piece of information, and so on. Don't use those styles anywhere else.

Then put {StyleRef} fields in the header, each containing the name of one of
those special character styles. For example, if you defined a character style
named "Customer" and applied it to the form field where the customer's name will
be typed, you would put the field {StyleRef Customer} in the header to repeat
the customer's name there.

The header can also contain plain text that won't change, and other fields.
 
P

Papa Tom

Make up a character style and apply it to the place in the text that contains
the first piece of information to be repeated (or to the field where you'll type
that information). Make up another character style and apply it to the next
piece of information, and so on. Don't use those styles anywhere else.

Then put {StyleRef} fields in the header, each containing the name of oneof
those special character styles. For example, if you defined a character style
named "Customer" and applied it to the form field where the customer's name will
be typed, you would put the field {StyleRef Customer} in the header to repeat
the customer's name there.

The header can also contain plain text that won't change, and other fields.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroupso all may benefit.

Can somebody give me a step-by-step? Pllllllleeeeeeeease?????? :)
 
S

Stefan Blom

See http://sbarnhill.mvps.org/WordFAQs/StyleRef.htm.

--
Stefan Blom
Microsoft Word MVP



Make up a character style and apply it to the place in the text that
contains
the first piece of information to be repeated (or to the field where
you'll type
that information). Make up another character style and apply it to the
next
piece of information, and so on. Don't use those styles anywhere else.

Then put {StyleRef} fields in the header, each containing the name of one
of
those special character styles. For example, if you defined a character
style
named "Customer" and applied it to the form field where the customer's
name will
be typed, you would put the field {StyleRef Customer} in the header to
repeat
the customer's name there.

The header can also contain plain text that won't change, and other
fields.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.

Can somebody give me a step-by-step? Pllllllleeeeeeeease?????? :)
 
P

Papa Tom

Thanks. As proficient as I am with the day-to-day operation of
Windows and computers in general, articles like that may as well be
written in Martian language. I guess I just don't have the brain for
it anymore!
 
J

Jay Freedman

Papa said:
Thanks. As proficient as I am with the day-to-day operation of
Windows and computers in general, articles like that may as well be
written in Martian language. I guess I just don't have the brain for
it anymore!

Maybe these how-to pages will connect with you better.

Creating a style:
http://office.microsoft.com/en-us/word/HP052406261033.aspx?pid=CH060830091033
(in step 4, choose 'Character' in the Style Type box)

Creating StyleRef fields:
http://office.microsoft.com/en-us/word/HP051893981033.aspx?pid=CH061047111033
(although the page is titled 'Create a dictionary-style page header',
it's really about StyleRef fields)

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Suzanne S. Barnhill

Well, that article is about as step-by-step as we can get, and it offers a
lot more detail than anyone is going to provide in a NG post (plus screen
shots).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 

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