Silly little question; How do I determine what type an object is? Textbox, label etc
Currently using the following code
Dim Ctl As Control
For Each Ctl In Me.Controls
If IsNull(Ctl.Value) Then
MsgBox(“You need to enter some values, dumbass”) ':)
But I want to only loop through textboxes... So I figured there must be a way of identifying what the object type is? I have a funny feeling I've seen this here bfeore but I can't find it for the life of me!