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 / December 2004

Tip: Looking for answers? Try searching our database.

Macros in Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pavel_Nedved - 13 Dec 2004 20:11 GMT
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.
Word Heretic - 13 Dec 2004 23:04 GMT
G'day Pavel_Nedved <Pavel_Nedved@discussions.microsoft.com>,

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:

>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.
fumei - 23 Dec 2004 18:27 GMT
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"?

> G'day Pavel_Nedved <Pavel_Nedved@discussions.microsoft.com>,
>
[quoted text clipped - 15 lines]
> >
> >Thanks for your help.
Word Heretic - 24 Dec 2004 02:54 GMT
G'day "fumei" <fumei@discussions.microsoft.com>,

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:

>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
[quoted text clipped - 24 lines]
>> >
>> >Thanks for your help.
 
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.