Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
glendeek - 08 Mar 2005 14:37 GMT
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?
Jean-Guy Marcil - 08 Mar 2005 15:49 GMT
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.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

glendeek - 08 Mar 2005 16:43 GMT
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.....
Jean-Guy Marcil - 08 Mar 2005 18:58 GMT
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.
Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

glendeek - 10 Mar 2005 20:45 GMT
now why didn't "help" say it that simply... :-)  thank you... that is exactly
what I needed.....

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.