Solved

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

Posted on 2011-09-27
7
305 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
  • 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

830 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