Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Location
    Greenville, SC
    Posts
    271

    Question Unanswered: Color or Attributes in a Message Box

    Is there a way to make certain words Bold?

    And then make the next sentence show as a Red color?

    Thanks for the help!!
    Gotta to do some code

  2. #2
    Join Date
    Nov 2003
    Posts
    1,487
    In Access97 you can make the first line bold (doesn't seem to work in 200x) by doiing the following:

    MsgBox"Please Note:@@" & "This is a message about something."

    This would be seen as:

    ------------------------------------------------
    Please Note:

    This is a message about something

    ------------------------------------------------

    As for changing colors on the fly....I don't believe this can be done. You could however, make your own custom message box from a Access Form.


  3. #3
    Join Date
    Feb 2004
    Location
    Canada
    Posts
    133
    FYI, here is a workaround for Access 2000:

    http://www.mvps.org/access/bugs/bugs0035.htm

  4. #4
    Join Date
    Mar 2004
    Posts
    33
    Originally posted by CyberLynx
    In Access97 you can make the first line bold (doesn't seem to work in 200x) by doiing the following:

    MsgBox"Please Note:@@" & "This is a message about something."

    This would be seen as:

    ------------------------------------------------
    Please Note:

    This is a message about something

    ------------------------------------------------

    As for changing colors on the fly....I don't believe this can be done. You could however, make your own custom message box from a Access Form.


    This has always irritated me about Office 200x. It was one of the first things I beta tested Office 2000. Now I use a custom MsgBox form for everything. It takes a little more coding, but it looks better.

Posting Permissions

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