For i=1 to Thisform.ControlCount > If Thisform.Control(i).Class = 'EditBox' >&& Place your code here > EndIf >EndFor