vbCritical??

D

Dave F

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
 
J

John Spencer

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.
 
Top