Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: New line in message box

  1. #1
    Board Regular
    Join Date
    Apr 2002
    Location
    Ireland
    Posts
    107
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Another simple question how do u go to a new line in a message box!!?? Cant think of how u do it. Thanks
    [Brian]

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    =ActiveCell.Address
    Posts
    478
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try

    Chr(13) or Chr(10) - carriage return and linefeed respectively

    MsgBox ("create a new line now..." & Chr(13) & "wow - new line!")

    Rgds
    AJ

  3. #3
    Board Regular
    Join Date
    Apr 2002
    Location
    Ireland
    Posts
    107
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks a lot AJ.
    [Brian]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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