ProgramError
Programmer
Trying to rest all controls on a form with unbound controls back to their default values. Any help would be appreciated.
Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
Code:
For Each ctrl In Frm '.Controls
Debug.Print ctrl.Name
If ctrl.ControlType = acTextBox Or ctrl.ControlType = acComboBox Then
ctrl.Value = ctrl.DefaultValue
End If
Next
Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.