+ Reply to Thread
Results 1 to 9 of 9

changing Font size and color in message box

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    changing Font size and color in message box

    Hello,

    I want to change font size maybe to 35 and color red on the text message "Send this file to xxxx".

    Thanks in advance.
    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: changing Font size and color in message box

    I think you would need to create a User Form with a Label or Text Box. You cannot format a MsgBox.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: changing Font size and color in message box

    Hi TMS
    Here is the sample.
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: changing Font size and color in message box

    See the updated example.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: changing Font size and color in message box

    Hi TMS,

    This is great! But can you add an "OK" button in the userform so that I can just click "OK"

    Thank you

  6. #6
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: changing Font size and color in message box

    I added this code for "exit" instead of "oK" button

    Please Login or Register  to view this content.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: changing Font size and color in message box

    You can either hide the userform or unload it. And you do not necessarily need a command button, although it does make it more obvious. You COULD just click on the userform.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: changing Font size and color in message box

    thank you so much.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: changing Font size and color in message box

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Increase font size in a message box
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-23-2021, 01:10 AM
  2. Replies: 1
    Last Post: 07-31-2021, 03:23 PM
  3. Increase font size for message box font
    By sam51285 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2015, 03:02 AM
  4. Button changing size and font size
    By jennyc2 in forum Excel General
    Replies: 1
    Last Post: 05-13-2009, 07:53 PM
  5. [SOLVED] VBA message box font size
    By [email protected] in forum Excel General
    Replies: 0
    Last Post: 07-25-2006, 06:30 PM
  6. [SOLVED] how do you change font size in message box
    By pete the greek in forum Excel General
    Replies: 3
    Last Post: 06-07-2005, 11:05 AM

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