Link to home
Start Free TrialLog in
Avatar of bhattar
bhattar

asked on

VBA to Print Multiline Textbox - Word 2007

Hi,

I have multiple 'Microsoft Form 2.0' textbox's in a protected word template. I have set the multiline property to True. When I print the document I only get a print of the first several lines.

How do I set this up so that when it prints it prints all of the text in all of the textbox's and reformats so that it all fits on an A4 page(s) using VBA?

Please see an example file attached.

Any help appreciated!
example.docx
ASKER CERTIFIED SOLUTION
Avatar of Joanne M. Orzech
Joanne M. Orzech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhattar
bhattar

ASKER

Hi JOrzech,

I would like to protect the document and make it into a word template. I cannot seem to do it using the plain text or rich text content controls.

Any more ideas?

Regards..
Use a text formfield?
You should be able to protect the form for Filling in Formfields with Content Controls.

Dawn Bleuel
Word MVP
Protected-Content-Controls.docx
Avatar of bhattar

ASKER

JOrzech, After playing with the controls as you suggested I have managed to create the form as required. Thank you very much for all of your help. Kind Regards..
Wonderful!  Thank you.  I'm glad I was able to help you figure it out.

Joanne Orzech
Word MVP