How to code color in message box in VBA

MsgBox "I write in red"(I want to see "in red" in red)
Who is Participating?
GrahamSkanConnect With a Mentor RetiredCommented:
You cannot control the formatting with MsgBox.

You would have to design a Userform that did something similar, You could then put the text in a label caption or a textbox and choose the font colour to suit.
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
If you are using Access 2010 I would check out this

MS Access: Enhanced Message Box Replacement
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.