Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting message box

Status
Not open for further replies.

cjany

IS-IT--Management
Nov 3, 2004
72
US
How can I format a message box message display certain words in red? I would like the word "pending" displayed in red.

Here is my message box code:

Private Sub Form_Load()
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "Assessments pending for this account", vbOKOnly
DoCmd.Close
DoCmd.OpenForm "frmSearch"
End If

End Sub
 
It's a bit of a long way round and I'm not sure if it's particularly correct for your requirements but a simple fix would be to produce a form that pops up instead if you remove all the toolbars etc. it is much more easy to change is appearence.
 
Thanks, I just changed the wording in the message box a little to emphasize what it needs to say.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top