Solved

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

Posted on 2011-09-27
7
312 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
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 …

738 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