Hi.
I'm using this function to clear all my textbox objects in my form
After clearing all textboxes, in the end of the for cycle, i get this error:Code:Private Sub Clear_Click() Dim objTXT As TextBox For Each objTXT In Me objTXT.Text = vbNullString Next objTXT Set objTXT = Nothing End Sub
Run-time error 13: Type Mismatch.
What should i do?
Thanks.




Reply With Quote