Results 1 to 3 of 3

Align msgbox text and Bold & underline certain text

Threaded View

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    66

    Align msgbox text and Bold & underline certain text

    Hi,

    I have a code which look like below

    PHP Code: 
    Sub msgbox()

     
    MsgBox("The item that you select was" _
                 vbNewLine 
    vbNewLine _
                 
    "Item Id" vbTab vbTab ": Wording A" _
                 
    "Item Name" vbTab ": " _
                  Wording B
    ................_
                  vbNewLine 
    vbNewLine _
                  
    "Are you sure on your selection?"vbYesNo vbQuestion_
                  
    "Alert on [Selection] !!!")

    End sub 
    and it produce

    PHP Code: 
    The item that you select was

    Item Id   
    Wording A
    Item Name 
    Wording B..................
    ...............
    (too long)

    continue 
    the code 
    How to modified the code so that msg box show like below (Bold and underline on certain word and alignment on Item name look nicer)

    PHP Code: 
    The item that you select was

    Item Id   
    Wording A (Need to bold and Underline)
    Item Name Wording B...........
               ........


    Continue the code 
    BR
    KC
    Last edited by alexnkc; 02-22-2013 at 11:59 AM.

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