Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Bold Text in Message Box (03)

    Is it possible to have bold text displayed in a standard message box?

    Example:
    MsgBox "Finished!" & Chr(13) & Chr(13) & "The load files have been written to: "


    As an example, the word "Finished" would be in bold text.

    Thanks,
    John

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Bold Text in Message Box (03)

    Nope. You'd have to create a userform to do that.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  3. #3
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Bold Text in Message Box (03)

    As Jan Karel said, you can't do that with a messagebox. In addition to using a userform, you could also use the Office Assistant to display your message. This would allow you to underline parts of the text or use different font colours and images within the text.
    Regards,
    Rory

    Microsoft MVP - Excel

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Bold Text in Message Box (03)

    The Office Assistant? <img src=/S/yikes.gif border=0 alt=yikes width=15 height=15>

    Many users have become allergic to Clippy - some even remove the Office Assistant! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  5. #5
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Bold Text in Message Box (03)

    I never said it was a good idea - just that it could be done! <img src=/S/grin.gif border=0 alt=grin width=15 height=15> Most people just turn it off and it's easy enough to turn back on briefly.
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

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