Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to create a form field within the Footer of a Word document

Posted on 2011-09-27
7
Medium Priority
?
327 Views
Last Modified: 2012-05-12
I have created form fields within a Word document which are populated by Access VBA. I need to create a form field within the Footer of the document to display the company name on every page. While within the Footer, I am not able to access the Text Form Field option within Legacy Forms: From the Ribbon : Developer -  Controls - Legacy Tools - Legacy Forms.

Is there a way to get around this?
thanks.
0
Comment
Question by:newbie46
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 36712688
If you have a Form field in the document body that will have that information, you could give it a style that isn't used elsewhere in the document, and then put a StyleRef field that references that style into the header.
0
 

Author Comment

by:newbie46
ID: 36712728
GrahamSkan,
There is another form field within the document that will have the information needed in the form field within the footer.

Please explain how to create a StyleRef field. The internet mentions using Insert>AutoText , but I am not seeing that in Word 2007. What are your thoughts on using Insert - AutoText?
0
 

Author Comment

by:newbie46
ID: 36712813
I have attached a sample of what I am trying to accomplish. Company Name is written to 2 different form fields within the document. I want to display Company Name in the Footer as well.
SampleTemplate.docx
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 76

Accepted Solution

by:
GrahamSkan earned 2000 total points
ID: 36713195
I have created a new character style called Style1, set one of the fields to that style and put a StyleRef field for that style in the footer.
SampleTemplate.docx
0
 

Author Comment

by:newbie46
ID: 36714108
GrahamSkan,
How do I unlock the Word doc that you attached so that I can see how you created the character style? Most of the Ribbon options are grayed out and cannot be selected.

thanks.
0
 

Author Comment

by:newbie46
ID: 36714177
I figured out how to create the new character style and how to set a field to that style. I created a StyleRef field for that style in the Footer. It shows up perfectly on Page 1. How do I get it to appear on every page (in the footer)? When I add the field in the Footer to every page, the field contents get duplicated.
0
 

Author Closing Comment

by:newbie46
ID: 36714195
I got it to work. Thanks!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question