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

formating an output to a text box

Status
Not open for further replies.

chrisgreen

Programmer
Jun 28, 2000
61
GB
I want to format data that I am puting into a text box.
I can't remember or find what the appropriate syntax is.
I think that it something like this.

text1 = "Hello world"/n + "My name is chris"

Please can you help me because it is really bugging me!
 
text1 = "Hello world" & vbCrLf & "My name is chris"

\n is for formatting in C/C++
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top