J
James Martin
What is the best way to check in VBA for all the subforms on a form? I can
cycle through all the controls on the form checking for
ControlType=acSubForm. But some of my forms have a massive number of
controls and I'm wondering if there is a more efficient way.
Thanks in advance.
James
P.S. I suppose I could also cycle through the forms collection looking for a
form with my form as the parent, but I suspect that will be slow.
cycle through all the controls on the form checking for
ControlType=acSubForm. But some of my forms have a massive number of
controls and I'm wondering if there is a more efficient way.
Thanks in advance.
James
P.S. I suppose I could also cycle through the forms collection looking for a
form with my form as the parent, but I suspect that will be slow.