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

Second line return with VbCrLf

Status
Not open for further replies.

Briandr

MIS
Jul 11, 2003
177
US
Hi,

How can I get a second line return using VbCrLf?

varRestart = oShell.Popup ("Test." & VbCrLf & "Test2", 3600, sTitle, vbExclamation+vbYesNo+vbSystemModal)

Thanks

 
did you want this:
varRestart = oShell.Popup ("Test." & VbCrLf [highlight #FCE94F]& VbCrLf[/highlight] & "Test2", 3600, sTitle, vbExclamation+vbYesNo+vbSystemModal)

?? or am I misunderstanding
 
The first line return does not leave a empty line so I wanted the second one so there would be a space between them. I think what you have is right??
 
Just use VbCR or chr(13) to insert blank lines. The linefeed (Lf) is only needed in text files.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top