How do I define variables in a MS Word 2000 document?

G

glendeek

I am tasked with creating a teamplate with fields to update based on changing
one variable. Is there a way to do that with MS Word 2000?
 
J

Jean-Guy Marcil

glendeek was telling us:
glendeek nous racontait que :
I am tasked with creating a teamplate with fields to update based on
changing one variable. Is there a way to do that with MS Word 2000?

Yes, but before we, or I in any case, venture an elaborate answer, I think
you need to give more details. There so many of doing this, you have to tell
us about this mysterious variable. Where is it held? How does it relate to
the document? How/When/Why does it change? Will the change impact already
created documents or only when creating new documents form that template?
etc.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
G

glendeek

ok, i will give it a try...
I am tasked with creating a "master" document for complex consulting
services. A lot of the jargon will not change. What I "want" to do, is have
a box that show the description of the data required in that box that goes
away once someone types an entry. Also, I want to enter information like
Customer, Contact, etc. only once and have it populate where needed
throughout the document.

Is all of this possible? i have used word, seems like forever, but have
never delved into the "neat" function it suposidly has.....
 
J

Jean-Guy Marcil

glendeek was telling us:
glendeek nous racontait que :
ok, i will give it a try...
I am tasked with creating a "master" document for complex consulting
services. A lot of the jargon will not change. What I "want" to do,
is have a box that show the description of the data required in that
box that goes away once someone types an entry. Also, I want to

For this, you may want to use this:

do CTRL-F9, this will insert field delimiters{},
between the {}, type:
{MACROBUTTON nomacro Type the client's name}
Repeat everywhere you want a text invite like that.
When done, do ALT-F9 to toggle back to regular text.

Select the first invite, type the text, do F11 and you will be taken to the
next one. etc.
enter information like Customer, Contact, etc. only once and have it
populate where needed throughout the document.

Is all of this possible? i have used word, seems like forever, but
have never delved into the "neat" function it suposidly has.....


Use {REF} fields where you want the repeated text.

E.g: On page one, you have some text;
Assign a bookmark to that text (Insert > Bookmarks, let's call it "Text1");
Everywhere else you want the text bookmarked by Text1 to appear do:
CTRL-F9;
A pair of { } will appear;
Type REF Text1 between the curly braces;
Create all the REF fields you want.

When you are done do ALT-F9 twice to switch from field code view to regular
view.

The problem is that if you bookmark the {MACROBUTTON} fields, when the user
types over the invite, the bookmark is gone. So the REF field will not work.
One way around that is to include a space after the {MACROBUTTON} field when
creating the bookmark, this way the bookmark stays when we type over the
{MACROBUTTON}field, but there is always a space.
Another approach is to use custom properties to hold the static info (File >
Properties > Custom tab) Then in the document you use a DOCPROPERTY field
(Insert > Fields) wherever you want the text to repeat. If you have only a
few, then it is easy to manage.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
G

glendeek

now why didn't "help" say it that simply... :) thank you... that is exactly
what I needed.....
 
Top