Text Box as Part of Header

D

-dc-

I would like to create a header that can include a text box which appears on all pages of the document.

For example, a standard document header that asks for your name. the text box would be populated with your name and it would appear on all pages, including new pages.

This document would be used several times by different users.
 
S

Suzanne S. Barnhill

The header can include (and they need not be in a text box):

1. REF fields (cross-references) that pick up data entered in the document
(and bookmarked) or otherwise supplied, or

2. Bookmarks or DOCPROPERTY fields populated by the responses in a UserForm
(see http://www.mvps.org/word/FAQs/Userforms/CreateAUserForm.htm).

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

-dc- said:
I would like to create a header that can include a text box which appears on all pages of the document.

For example, a standard document header that asks for your name. the text
box would be populated with your name and it would appear on all pages,
including new pages.
 
M

Margaret Aldis

In the header, use fields that pick up the values of document properties
that can be stored with the document. For the user name, you'd probably just
want to use the standard {AUTHOR} field, but there is a general
{DOCPROPERTY} field that can pick up any standard or custom property.

To collect the information from the user, again if it is just a user name
you might either be able to rely on the value already stored by the system,
or else make use of the File > Properties dialog - you can set the 'Prompt
for document properties' option (Tools > Options > Save) to pop up the
dialog on save. Otherwise you'll need to write your own UserForm to collect
the details and transfer them to document properties.

--
Margaret Aldis - Microsoft Word MVP
Syntagma partnership site: http://www.syntagma.co.uk
Word MVP FAQ site: http://www.mvps.org/word



-dc- said:
I would like to create a header that can include a text box which appears on all pages of the document.

For example, a standard document header that asks for your name. the text
box would be populated with your name and it would appear on all pages,
including new pages.
 
Top