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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing textbox contents

Status
Not open for further replies.

Enkay62

Programmer
Sep 5, 2003
78
0
0
IT
Hi and happy new year!!!!
Here is my problem.
In a userform (excel 2000)I have a very wide textbox with a lot of strings.
I would like to print it but, using "Printform" all the userform with all its contents will be printed.
Is there a way to print only the textbox contents?
Thank you in advance.
Bye.
Nick
 
Hi EnKay62

You can reference the text in a textBox by using the TextBox<NumberHere>.Text method. This can be placed inside a variable of the string or variant type.

anvil19
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top