Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word - creating a template

Status
Not open for further replies.

wellerw

MIS
Mar 14, 2003
175
GB
HI,

This might be an easy one..

I am using ms word 2007.

I have been given a document, which is a form.

I would like to make this into a template, so that a user can enter text into certain fields in the form.

When they print, I would like only the entered text to print out, not the form.

Anyone know how to do this?

Thanks
W
 
I tested and was able to make it work like this:
1. Go to Visual Basic and double click the "This Document" Object.
2. Put "ActiveDocument.PrintFormsData = True"
to the Open event (no quotes)

I was able to make it work only with legacy type controls. If using the new Word 2007 form controls (building blocks) it prints a blank page.
 
Hi wellerw,

If your 'form' lacks formfields or content controls, you'll need to add them, then protect the document for forms. In Word 2007, they're available via the Developer Tab. Note that Word versions prior to Word 2207 do not support content controls. In Word 2007, formfields are accessed via the 'Legacy Controls' button.

Word also has an option to print only the data for forms. Unfortunately, I've only got access to Word 2000 right now, so I can't tell you where to find that in Word 2007. In Word 2000, it's available under Tools|Options|Print.

Cheers

[MS MVP - Word]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top