Hi guys,
Does somebody knows if you can search for controls in a userform collection, like in:
/ Dim ctl as Control
/ For Each ctl In UserForm1.Controls
/"do action"
but can exclude one specific subset of the collection of the action ? Like the subset:
/ UserForm1.MultiPage1.Pages(2).Frame21.Controls
For example, is there a conditional statement which i can include like
/ if ctl.location = UserForm1.MultiPage1.Pages(2).Frame21.Controls then
/ "do nothing"
Thanks and kind regards,
Pieter
Does somebody knows if you can search for controls in a userform collection, like in:
/ Dim ctl as Control
/ For Each ctl In UserForm1.Controls
/"do action"
but can exclude one specific subset of the collection of the action ? Like the subset:
/ UserForm1.MultiPage1.Pages(2).Frame21.Controls
For example, is there a conditional statement which i can include like
/ if ctl.location = UserForm1.MultiPage1.Pages(2).Frame21.Controls then
/ "do nothing"
Thanks and kind regards,
Pieter