AuditTrail and MouseTrap Problems
I have a tabbed form that I applied GHudson's AuditTrail code to and it works well.
I have another tabbed form that I applied GHudson's MouseTrap code to and it works well.
Now I need to have both sets of code on the same tabbed form, and it doesn't work so well.
It is writing the changes the user makes into the AuditTrail, but it appears that the MouseTrap isn't working because I get a VBA error "Run-time error '13': Type mismatch" when I click any of the Mousetrap enabled buttons.
When I select "Debug", the offending line of code is in red below:
----------
Err_bSave_Click:
If Err = 2046 Then 'The command or action Undo is not available now
Exit Sub
Else
MsgBox Err.Number, Err.Description
Resume Exit_bSave_Click
End If
End Sub
----------
GHudson, or anyone, please help.