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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exclamation icon in MsgBox

Status
Not open for further replies.

EZLI

IS-IT--Management
Sep 3, 2002
31
LV
Hi,
Please help how to show in MsgBox the exclamation icon.

Private Sub Form_Current()
If Len(A) <> 0 Then
aa = CLng(A)
If aa >= 20 Then
Msg = &quot;abc!&quot;
Style = vbOKOnly + 48
Title = &quot;Attention&quot;
MsgBox Msg, Stile, Title

End If
End If
End Sub

Thank's in advance,
Niks
 
Hi EZLI,

Try vbExclamation instead of vbOKOnly

Regards,

Peter Remember- It's nice to be important,
but it's important to be nice :)
 
Hi again,

Also...I have had to remove the &quot;+ 48&quot; from the line

Style = vbOKOnly


Peter Remember- It's nice to be important,
but it's important to be nice :)
 
Thank you Peter for help. It's working.
Niks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top