If Time > #1:00:00 PM# And Time >= #2:00:00 PM# Then
If CurrentUserInGroup("usrgrp1") = False Then
MsgBox "This is usrgrp2's time"
DoCmd.Quit
Exit Sub
End If
End If
Then definitely change the code as I have it in my previous post. Also, it looks like you would want to change the user group being passed to the module to usrgrp2.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.