?
Solved

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

Posted on 2011-09-27
7
Medium Priority
?
319 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
Independent Software Vendors: 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

771 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