Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2004
    Posts
    28

    Question Unanswered: can we make multiline message box ?

    heiii heiii
    I have a small problem , is it possible to make the message in the message box into multiple lines, that is I don't want to display a long line , I want to make it into more than one line.
    can any one please suggest me.
    thanks a lot in advance.
    Kiran.
    "One who Gives when u ask is Ur MOTHER but, one who always tries to know your needs and Gives what ever one can Give for U is Ur FRIEND.( SO Try to BE and get such a friend GOOD LUCK MY FRIEND )"

  2. #2
    Join Date
    Oct 2004
    Posts
    105
    hi you can do it like that
    MsgBox "first line" & vbCrLf & "second line" & vbCrLf & " third line"
    i think that should work

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Sometimes vbCrLf does not show new lines
    Use
    vbNewLine instead

  4. #4
    Join Date
    Aug 2004
    Posts
    28
    Thank you all of you
    I found another way as well , and I want to post it here
    that is

    MsgBox "First line" & chr(10) & "Second Line" & chr(10) & " Third Line "

    I am using this , it is working.

    Thanks a lot
    have nice time.
    babaiiiii
    "One who Gives when u ask is Ur MOTHER but, one who always tries to know your needs and Gives what ever one can Give for U is Ur FRIEND.( SO Try to BE and get such a friend GOOD LUCK MY FRIEND )"

  5. #5
    Join Date
    Sep 2004
    Posts
    161
    It's the same thing vbCrlf is a constant that represant chr(10) (or chr(13))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •