Forms and Table of Contents

K

KC guru

I'm a wannabe expert at forms. I have a pre-made document for engineers
describing equipment which has a table of contents, places to insert images,
Excel tables, and an Appendix added at the end (which will auto-fill into the
toc). I want to have part of this document automated so the people filling
in the forms can't make a lot of changes. How can I create a text fill-in
within the table of contents? I've tried and because it is already a type of
field I think that I probably can't do this. Also, I have several places in
the document that once you type in the first text fill-in I want it to
populate that information in about 10 different other places in the document
automatically, including the TOC and header or footer.
 
J

Jean-Guy Marcil

KC guru was telling us:
KC guru nous racontait que :
I'm a wannabe expert at forms. I have a pre-made document for
engineers describing equipment which has a table of contents, places
to insert images, Excel tables, and an Appendix added at the end
(which will auto-fill into the toc). I want to have part of this
document automated so the people filling in the forms can't make a
lot of changes. How can I create a text fill-in within the table of
contents? I've tried and because it is already a type of field I

You can't.
think that I probably can't do this. Also, I have several places in
the document that once you type in the first text fill-in I want it
to populate that information in about 10 different other places in
the document automatically, including the TOC and header or footer.

Your text formfield has a bookmark name (See or change it from the formfield
properties dialog).

Let's say it is "textName"

In the formfield dialog, check the "Calculate on Exit" box.

Then, anywhere you want the same information repeated do this:

{REF textName}

where the {} are inserted by doing CTRL-F9.
With the cursor place between the {}, do SHIFT-F9 to revert to field values
(instead of field code).

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
K

KC guru

Just as I suspected about the TOC field...much appreciated...I'll get back to
you in the next few days on how the auto-fill works for me.
 
K

KC guru

OK, in Word 2003, can you mix a protected document with form fill fields?
I've tried and either it can't be done or I'm not understanding how to do the
"sections." Please help, thanks.
 
J

Jean-Guy Marcil

KC guru was telling us:
KC guru nous racontait que :
OK, in Word 2003, can you mix a protected document with form fill
fields? I've tried and either it can't be done or I'm not
understanding how to do the "sections." Please help, thanks.

Set up your document withy the form fields all in their own sections.

Then, when you do Tools > Protect Document, in the pane on the right, once
you select "Filling in forms" in the "2.Editing restrictions" section, you
will notice a "Select sections..." hyperlink under the dropdown. Click on
that to check or uncheck the sections you want protected or not.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
K

KC guru

Mssr. Marcil...the original {REF TextName} did not completely work since the
fills I needed throughout the document were different fonts. I used the
formula {=TextName} and the fills in the beginning of the form are
duplicating to referenced text, however, towards the end of the form, the
fills are not duplicating, and I am using the same code. Also, is there a
way to have the fills show blank on repeating instead of zero (0)?

Salut to you, too!, y'all
 
J

Jean-Guy Marcil

KC guru was telling us:
KC guru nous racontait que :

I am sorry but I do not follow.

I am not sure what the "fills" you are referring to are.
Mssr. Marcil...the original {REF TextName} did not completely work
since the fills I needed throughout the document were different
fonts. I used the formula {=TextName} and the fills in the beginning

Fonts have nothing to do with REF fields... I do not understand the problem
here.
of the form are duplicating to referenced text, however, towards the
end of the form, the fills are not duplicating, and I am using the

What do you mean by "are not duplicating"?
same code. Also, is there a way to have the fills show blank on
repeating instead of zero (0)?

I do not quite understand what you mean by "have the fills show blank on
repeating". On repeating what? Zeroes are usually displayed in Calculation
fields, not REF fields...

Sorry.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
K

KC guru

Let's see if I can explain:

The { REF TextName} I used copies the TextName's font style. Is there a way
to make sure this doesn't happen other than { =Text2 }. Also, the
information in some of the text fields are numbers and they also have dashes,
not mathematical negative signs, however, the resulting numbers in the {
=Text2 } show calculations. Is there a switch that has numbers show as text
or to have numbers not calculate?
 
J

Jean-Guy Marcil

KC guru was telling us:
KC guru nous racontait que :
Let's see if I can explain:

The { REF TextName} I used copies the TextName's font style. Is there
a way to make sure this doesn't happen other than { =Text2 }. Also,
the information in some of the text fields are numbers and they also
have dashes, not mathematical negative signs, however, the resulting
numbers in the { =Text2 } show calculations. Is there a switch that
has numbers show as text or to have numbers not calculate?

REF fields do not automatically "duplicate" formatting information. like
font used or font attributes (bold, italic, etc...).

If they do, you are doing something you are not aware of that does his.

One way to control the look of a REF field is to use a formatting switch:

{REF TextName \* CHARFORMAT}

To make this work, apply whatever formatting you want to the field result to
the first letter of the field (the "R" of "REF"). So, foe example, if you
want the field result displayed in Bold, Red and font size 24, make the "R"
of "REF" Bold, Red and size 24.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.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