How do I loop through the controls on a form using VBA
something like:
dim ctl as Control
for each ctl in Me.Cotrols
Next
problem is there is no Control Collection accessible in SL VBA that I see.
Thanks
*This post is locked for comments
Announcements
How do I loop through the controls on a form using VBA
something like:
dim ctl as Control
for each ctl in Me.Cotrols
Next
problem is there is no Control Collection accessible in SL VBA that I see.
Thanks
*This post is locked for comments
Barry,
Thanks! mFindControlName(1) returns name of first control and mFindControlName(0) returns the "next" control. All I need to loop.
Have you looked at the mFindControlName API call?
Barry
Community Member
136
Mohamed Amine Mahmoudi
102
Super User 2025 Season 1
REUser
8