Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turn Object Name into an Array

Status
Not open for further replies.

ErantD

Programmer
Mar 28, 2003
11
ES
How do I turn an Object name into an Array.
Example I ahave 10 checkboxes and I´d like to turn them into a array to use in a loop.
Note I am using Visaul Basic for EXCEL MACROS and simply copying the name or putting the name in the name type column can´t be done. How do I do this for Excel Macros???

say: (chkBox(#) being the name of the checkboxs)


Dim i as Integer
For i= 1 to 10
chkBox(i)= i
Next i
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top