Macros in Word

P

Pavel_Nedved

I'm trying to set up a document where by changing one variable (ex. "First
Name"), it will change every instance of that variable in the document. I
wanted to use macros if possible, rather than a find/replace.

Thanks for your help.
 
W

Word Heretic

G'day Pavel_Nedved <[email protected]>,

You don't need macros. Place a bookmark around the text and
cross-reference the bookmark. You can also use, say, the Subject field
in the Document Properties dialog. Then you insert a Subject field
whereever you want the reference.


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Pavel_Nedved reckoned:
 
F

fumei

While using references to bookmarks will ceryainly work. it depends on how,
and what you are using for "variables". How are the "variables" used in the
document. If theyare "variables" that are in ActiveX controls, that would be
another issue, would it not?

It may be safe to assume Fields, but it is only an assumption.

So, in form are these "variables"?
 
W

Word Heretic

G'day "fumei" <[email protected]>,

Controls resolve / render as a value. This value falls into a Range of
Rich Text. Thus the bookmark range is perfect for us.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


fumei reckoned:
 

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