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

New line

Status
Not open for further replies.

951753951753951753

Programmer
Apr 17, 2003
6
SE
Ok here comes a easy one...

How do you do a nwe line in an VB script output??
for ex in an MsgBow out put????
 
Ok sry i messed up the letters a little...
Thz MrGreed that worked just fine in MsgBox but when i tride to use if i InputBox it didn't.
What should i use there??
 
Actually vbNewLine is meant to be used for this. On Windows platforms it is equal to vbCrLf while on others it can be equal to vbCr or vbLf - or I suppose in theory anything else.

And yes, VBScript does exist on non-Windows platforms, though its presence is limited.
 

Try using "bit of message" & chr(13) & "rest of message"


Chris.


Indifference will be the downfall of mankind, but who cares?
 
Ok thz guys..
now i just need some help with my other thread: .vbs to .exe and SendKey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top