Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VBA to Print Multiline Textbox - Word 2007

Posted on 2009-04-09
7
Medium Priority
?
995 Views
Last Modified: 2012-05-06
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
0
Comment
Question by:bhattar
  • 3
  • 2
7 Comments
 
LVL 37

Accepted Solution

by:
Joanne M. Orzech earned 2000 total points
ID: 24170296
Can you use the plain text or rich text content control instead?  Seems to work perfectly for what you're looking for.



2007-TextBox-controls.gif
0
 

Author Comment

by:bhattar
ID: 24175667
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..
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 24185050
Use a text formfield?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 19

Expert Comment

by:dlc110161
ID: 24188700
You should be able to protect the form for Filling in Formfields with Content Controls.

Dawn Bleuel
Word MVP
Protected-Content-Controls.docx
0
 

Author Closing Comment

by:bhattar
ID: 31568417
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..
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 24219611
Wonderful!  Thank you.  I'm glad I was able to help you figure it out.

Joanne Orzech
Word MVP
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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 …
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

886 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