Discussion Locked

creating a control array in VBA?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I know how to create a control array in
VB 6.0, but cannot seem to find a way to
do it in VBA. What I want is to have a control array of textboxes/labels on a form to store information. Is there a simple way of doing this? Any feedback is greatly appreciated.

7 replies

by frescalus

VBA? Visual Basic for Applications, right? It should be the same way, at least I've found in VBA myself that most things if not all are the same as VB6.

by marg

I concur with answer #2. Control arrays are not a feature of VBA. Consider using a combo or list box as a substitute - it is an indexed data structure that can grow and shrink.

This discussion is closed to new replies.