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

MSGBOX function - question?

Status
Not open for further replies.

php3390

Technical User
Feb 5, 2005
13
0
0
SA
Hello,

This is me again :)

I would like to control the view of my information on the msgbox i.e:

I want it to show the information as follows:

"Your Inquiry results :-" >> then new line
" <> Name: Me" >> New line
" <> Age : xx" >> new line

so and so..

** Between the quots is the contents that suppose to be shown in my msgbox.


is it possible to do that?

Thanks in advance,

Me.
 
To have a new line in msgbox, use:
Code:
    "my first line" & vbCrlf & "my second line"
To add an indent, then add a few spaces the the beginning:
Code:
    "my first line" & vbCrlf & "    my second line"

Good Luck

BB

 
Thanks BigBrother.. you are really a big brother :)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top