ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hard Return in large textbox (https://www.excelbanter.com/excel-programming/303879-hard-return-large-textbox.html)

Todd huttenstine

Hard Return in large textbox
 
Hey guys I have a large textbox that has word wrap
enabled. How do I programmatically insert a hard return
in the textbox?


Thank you

Todd Huttenstine

Peter Beach

Hard Return in large textbox
 
Hi Todd,

Try something like:

TextBox1.Text = "Hello world" & vbCrLf & "Nice to see you"

HTH

Peter Beach

"Todd Huttenstine" wrote in message
...
Hey guys I have a large textbox that has word wrap
enabled. How do I programmatically insert a hard return
in the textbox?


Thank you

Todd Huttenstine




Frank Kabel

Hard Return in large textbox
 
Hi Todd
CHR(10)

--
Regards
Frank Kabel
Frankfurt, Germany


Todd Huttenstine wrote:
Hey guys I have a large textbox that has word wrap
enabled. How do I programmatically insert a hard return
in the textbox?


Thank you

Todd Huttenstine



All times are GMT +1. The time now is 08:50 PM.

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