Hello,
it seems that there is no UserControl 'type' of control? - so we can't write
at least following code does skip over UserControl (in do stuff part), or i am missing something?Code:For Each C In frm.Controls If TypeOf C Is TextBox Or TypeOf C Is ComboBox Or TypeOf C Is UserControl Then 'do stuff End If Next




Reply With Quote