hi Robin and welcome
i use this which i found in the forums
cheersVB:'CLEARS ALL CONTROLS 'http://www.ozgrid.com/forum/showthread.php?t=44070&highlight=CLEAR+controls Dim Ctrl As Control For Each Ctrl In Me.Controls If TypeOf Ctrl Is MSForms.ComboBox Then Ctrl.Text = "" End If Next Ctrl For Each Ctrl In Me.Controls If TypeName(Ctrl) = "TextBox" Then Ctrl.Text = "" End If Next Ctrl
toe



Reply With Quote
Bookmarks