Can someone please tell me if it is possible to get a wav file to play when my msg box pops up?. My code is
If DCount("[Spec]", "Stolen", "[BoxNo] = '" & Me.BoxNo & "' And [SpecCode] = '" & Me.SpecCode & "'") = 1 Then
MsgBox "STOLEN BOX!. This box is on the Stolen List"
Cancel = True
Me.Undo
Exit Sub
'Do nothing
End If
Many Thanks in advance
If DCount("[Spec]", "Stolen", "[BoxNo] = '" & Me.BoxNo & "' And [SpecCode] = '" & Me.SpecCode & "'") = 1 Then
MsgBox "STOLEN BOX!. This box is on the Stolen List"
Cancel = True
Me.Undo
Exit Sub
'Do nothing
End If
Many Thanks in advance