Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 2007 Content Control

Status
Not open for further replies.

goldanimals

Technical User
May 29, 2008
1
US
To Whomever Can Help:

I don't know much about the code side of things, but I'm trying to set up a template in Word 2007 for a proposal. I have richtext controls in it they work fine so far. However, I want to be able to group them or something so that when I open up the document(from the template) and change the first company name richtext control, it will change all the rest of them at once. So for an example, I want to have controls throughout the text of the proposal that will say a company name like 'Microsoft'. But I don't know what that company name will be until proposal writing time. I want to open the document and type in the first control whatever the company is for that proposal, and all the rest that I need will change to that. Get it? Is there a way to do that, other than Find & Replace?
 
Other than the "Find and Replace" is a Macro a possibility?

What is a macro and why you should care

You could also look to the MS Office forum for expert help.

Troubleshoot recording and running macros

"If you only want the code (your macros) to apply to one template then the code will be loaded when the template is opened, or a document based on the template is created or opened.


If you want the code to be available to all documents then it means that the template has to be installed as a global addin or the contents copied to Normal.dot (the least preferred method).
 
Yearly we have fundraisers and use the mail merge function to replace the names, addresses etc...in the actual letter and also on the envelope. I'm not sure if it being a template would complicate things. But it would be easy enough to create a document and work off that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top