ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Print textbox-content possible? (https://www.excelbanter.com/excel-programming/381990-print-textbox-content-possible.html)

Maurice

Print textbox-content possible?
 
Hi,

Just trying to find out if this is possible.
I have a textbox placed on my worksheet and it's properties set to scrollbar
vertical. Now I can typ all te text I want even if it doesn't fit because I
can scroll up and down. Now here's my question: When I want to print this
textbox it only prints the visible part of the textbox. Is it possible to
print out the total content of the textbox?

Or should I use a userform and than add the content by placing it in a
dynamic cell.

Let me know if it is possible. Thanks in advance

Maurice

spences10

Print textbox-content possible?
 
Hi Maurice,

Unfortunately for you I do not have a solution - but I am wondering
if anyone knows if there is a way to copy and paste the contents from
the text box to another object or application.

Thank you in advance for any help.


Maurice wrote:

Hi,

Just trying to find out if this is possible.
I have a textbox placed on my worksheet and it's properties set to scrollbar
vertical. Now I can typ all te text I want even if it doesn't fit because I
can scroll up and down. Now here's my question: When I want to print this
textbox it only prints the visible part of the textbox. Is it possible to
print out the total content of the textbox?

Or should I use a userform and than add the content by placing it in a
dynamic cell.

Let me know if it is possible. Thanks in advance

Maurice



Tom Ogilvy

Print textbox-content possible?
 
You could have your code copy the text to a new worksheet, print the
worksheet, delete the worksheet.

You could have your code seize the textbox so shows all the text, print the
textbox, restore the original size of the textbox.

--
Regards,
Tom Ogilvy


"Maurice" wrote:

Hi,

Just trying to find out if this is possible.
I have a textbox placed on my worksheet and it's properties set to scrollbar
vertical. Now I can typ all te text I want even if it doesn't fit because I
can scroll up and down. Now here's my question: When I want to print this
textbox it only prints the visible part of the textbox. Is it possible to
print out the total content of the textbox?

Or should I use a userform and than add the content by placing it in a
dynamic cell.

Let me know if it is possible. Thanks in advance

Maurice


Tom Ogilvy

Print textbox-content possible?
 
Dim s as String
s = worksheets("Sheet1").Textbox1.Text

worksheets("Sheet2").Textbox3.Text = s

--
Regards,
Tom Ogilvy


"spences10" wrote:

Hi Maurice,

Unfortunately for you I do not have a solution - but I am wondering
if anyone knows if there is a way to copy and paste the contents from
the text box to another object or application.

Thank you in advance for any help.


Maurice wrote:

Hi,

Just trying to find out if this is possible.
I have a textbox placed on my worksheet and it's properties set to scrollbar
vertical. Now I can typ all te text I want even if it doesn't fit because I
can scroll up and down. Now here's my question: When I want to print this
textbox it only prints the visible part of the textbox. Is it possible to
print out the total content of the textbox?

Or should I use a userform and than add the content by placing it in a
dynamic cell.

Let me know if it is possible. Thanks in advance

Maurice





All times are GMT +1. The time now is 12:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com