Try one of these two approaches:
1) Emphasis with upper case
MsgBox "You have selected " & UCase(Me.txtVariable) & " twice.", vbExclamation, "Duplicate!"
or
2) Bold the first line of your message box only.
Eval ("MsgBox ('" & Me.txtVariable & "@@has been selected twice.'," & vbExclamation & ",'Duplicate!')")
Take special note of where the single and double quotes are. The @ signs will not show in the message box. Everything after them will be normal and on a new line. Everything before them will be bold and on the first line.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|