PDA

Click to See Complete Forum and Search --> : Message Box Formate


Pearso
Nov 27th, 2005, 04:10 PM
I'm using the following code to create a message box with two things in it. HOw do i get them to appear one above the other and not side by side.

MsgBox ("Total Count = " & Count1 & " Total Coy = " & ECcount)

Thank you in advance.

malik641
Nov 27th, 2005, 04:42 PM
Use the vbCrLf (visual basic carriage return line feed) command...like so:

MsgBox ("Total Count = " & Count1 & vbCrLf & " Total Coy = " & ECcount)
HTH :afrog:

Pearso
Nov 27th, 2005, 05:08 PM
Thank you ver much..

malik641
Nov 27th, 2005, 05:14 PM
Anytime :)