>Hi,
>
>I use as follow to clear text box : -
>
>For Each txtob In Me
> If TypeOf txtob Is TextBox Then
> txtob.Text = Empty
> End If
>Next
>
>And now I want to know how to clear combo box and check box.
>
>Your help will be much appreciated. Thank you.
>
>Annie
Dim Control As Control
For Each Control In Controls
If TypeOf Control Is ComboBox Then
Control.Clear
ElseIf TypeOf Control Is CheckBox Then
Control.value = 0
End If
Next Control