I'm new (very new) why does this not work? I've attached it to the After_Update event of a Text Box to Enable/disable a Command Button
Sub UndoEdits()
If Me.Dirty Then
Me!btnUndo.Enabled = True ' Enable button.
Else
Me!btnUndo.Enabled = False ' Disable button...