Results 1 to 3 of 3

Thread: MsgBox.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224
    I have a message box as follows
    Code:
    msgbox"This is a really long sentence that I want to break"
    Basically I want to know if it's possibe to break a sentence in half in a message box so that I don't have a really long message box that runs the length of the screen.

    Thanks a lot for the help
    JK

  2. #2
    Addicted Member S@NSIS's Avatar
    Join Date
    Aug 2000
    Location
    Stoke-On-Trent, England
    Posts
    243
    Hi,
    Try this:
    Code:
    MsgBox "This is a really long" & vbCrLf & "Sentence that I want to break"
    Add vbCrLf for each new line that you want to add

    Hope this helps

    Shaun
    Web/Application Developer
    VB6 Ent (SP5), Win 2000,SQL Server 2000

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224
    Cheers
    JK

Posting Permissions

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



Click Here to Expand Forum to Full Width