+ Reply to Thread
Results 1 to 3 of 3

Entered Space in MsgBox

Hybrid View

eddykk Entered Space in MsgBox 02-18-2009, 01:44 AM
shg Re: Entered Space in MsgBox 02-18-2009, 02:06 AM
eddykk Re: Entered Space in MsgBox 02-18-2009, 02:28 AM
  1. #1
    Registered User
    Join Date
    11-30-2008
    Location
    Malaysia
    MS-Off Ver
    XP and 2003
    Posts
    33

    Entered Space in MsgBox

    How do you make an enter space in msgbox? I'd like the layout to be something like this,

    Hello My name is Edmund.

    His name is Edwin.

    Wait, my name is actually Eddy.

     Sub CommandButton1_Click()
        MsgBox ("Hello My name is Edmund")
        
        
    End Sub
    Last edited by eddykk; 02-18-2009 at 02:28 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Entered Space in MsgBox

        MsgBox ("Hello My name is Edmund" & vbLf & "Next line " & vbLf & "Next line")
    For readability, you'd typically see it like this:
        MsgBox ("Hello My name is Edmund" & vbLf & _
                "Next line " & vbLf & _
                "Next line")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-30-2008
    Location
    Malaysia
    MS-Off Ver
    XP and 2003
    Posts
    33

    Re: Entered Space in MsgBox

    Ah thanks a bunch shg.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1