PDA

View Full Version : Looping through controls having specific properties only!



prabhafriend
01-05-2010, 01:44 AM
Is there any way to loop through controls having a particular property?
Ex. For each control in me.controls.value = false

xld
01-05-2010, 01:58 AM
YOu need to test it specifically



For Each ctl In Me.Controls

If Not ctl.Value Then

'do stuff
End If
Next ctl