Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
DMS DMS is offline
external usenet poster
 
Posts: 9
Default How To Print the contents of a TextBox

All,
Thank You in advance for any ideas.

I have a Textbox on a UserForm that gets popullated with error messages. I
would like my users to be able to Print the text inside the textbox. Ideally
the PrintDialog box would open with there default printer selected.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default How To Print the contents of a TextBox

I'm sure there is an easier way, but I'm not advanced enough to know it.

I would transfer the text box value to a new sheet and than print that
sheet.

The code could insert a new sheet, transfer the text, print the sheet, and
than delete the sheet.

Try this with a copy of your workbook. You should be able to record most of
the code.

Post back if you need help with the code, but be aware that except for the
text transfer - I will just record and modify the code.

You can also use the same code that fills the text box to also add entries
to a blank sheet.

--
steveB

Remove "AYN" from email to respond
"DMS" wrote in message
...
All,
Thank You in advance for any ideas.

I have a Textbox on a UserForm that gets popullated with error messages.
I
would like my users to be able to Print the text inside the textbox.
Ideally
the PrintDialog box would open with there default printer selected.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contents of a TextBox to HTML [email protected] Excel Programming 0 January 27th 05 06:40 PM
How do I print the contents of a textbox that is on a Userform DMS Excel Programming 1 January 7th 05 12:00 AM
Putting Cell contents into a TextBox? PEno1 Excel Programming 2 December 3rd 04 03:31 AM
Copy textbox contents Stuart[_5_] Excel Programming 2 August 15th 04 06:57 PM
clear textbox contents dirt Excel Programming 1 January 27th 04 04:25 AM


All times are GMT +1. The time now is 02:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"