vbCritical??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What's that mean in VBA?

Relevant code:

Private Sub cmdCOFbyExpenseCode_Click()
If DetermineNoNullValues = True Then
DoCmd.OpenQuery "qryCOFSummaryByExpenseCode", acViewNormal, acEdit
Else
MsgBox "You must enter both a start and end date for the month to run this
function.", vbCritical
End If
End Sub

I understand everything but the vbCritical part...thanks

Dave
 
It means the message box will display MSoft's Critical Icon (Red Ball with
white X in Window XP) along with the text message.

Also see, VbExclamation, VbQuestion, and VBInformation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top