Formatting message boxes

  • Thread starter Thread starter Chris Punter
  • Start date Start date
C

Chris Punter

Ok folks I'm very much new at doing codes so thanks for your patience
I'd like to know is there any way to Bold the variable part in a
msgbox.using vb without doing the whole box?
 
What version of Access?

In Access 97, you could do something like

MsgBox "Wrong button!@This button doesn't work.@Try another.", _
vbOKOnly + vbExclamation

to have Wrong button! bold, but this was taken away in later versions of
Access. You can use Eval function, as MichKa outlines at
http://www.trigeminal.com/usenet/usenet015.asp or you can just design your
own form to use instead of the message box.
 
Yes i am using access 2002. That method does still work when using
macros... but not in VB
 
Excuse me? Did you try MichKa's code? It works fine in Access 2002: I just
tried it to check.
 
Yes... sorry that did work... just forgot to add a few declarations in my
code.
Thank you for your help.
 
Back
Top