I have a database that will be inactivated shortly however in the interim some of the users will need to be denied earlier, so I need to create a pop-up msgbox when they select their segment from a drop down. Sounded simple enough but I have had no luck so far. I've tried
Private Sub Form_frmRequest
If cboSegment.Value = "name of dept" then
msgbox "message to be displayed"
End If
I also tried..
Public Function Redirect()
With Form_frmRequest
If .cboSegment.Value = "name of dept" Then
MsgBox "message to be displayed Thank you.", vbOKOnly, "Redirect Issue
modPublicFunctions.ClearForm
End If
End With
End Function