Solved

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

Posted on 2011-09-27
7
295 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
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…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now