Hello,
I am trying to use the following vba to generate a msgbox popup but its not working and no errors appear either ...
i have also tried ...
Any suggestions ... please and thank you in advance
I am trying to use the following vba to generate a msgbox popup but its not working and no errors appear either ...
Code:
Private Sub SumOfPlannedHours_BeforeUpdate(Cancel As Integer)
If Me!SumOfPlannedHours > "34.15" Then
MsgBox "You have exceeded 34.15 hrs work duration limit", vbOKOnly
End If
End Sub
i have also tried ...
Code:
Private Sub SumOfPlannedHours_BeforeUpdate(Cancel As Integer)
If (SumOfPlannedHours) > "34.15" Then
MsgBox ("You have exceeded your planned hours limit of 34.15"), 0, "Weekly Schedule Control System"
Cancel = True
End If
End Sub
Any suggestions ... please and thank you in advance