Matty_mca
asked on
Set multiple cmd boxes to enabled = true
Hi Experts,
Fairly simple one, but one that is bugging me...
I have 100 cmd boxes cmd1, cmd2, cmd3..... cmd100 upon clicking the rest button i want all of the cmdbuttons to set enabled = true. i know i could go through each one putting cmdX.enabled = true but it seems a bit messy. is there a way to do it in some kind of loop? e.g.:
for x = 1 to 100
cmd & x.enabled = true
next
Thanks guys
Regards Matt
Fairly simple one, but one that is bugging me...
I have 100 cmd boxes cmd1, cmd2, cmd3..... cmd100 upon clicking the rest button i want all of the cmdbuttons to set enabled = true. i know i could go through each one putting cmdX.enabled = true but it seems a bit messy. is there a way to do it in some kind of loop? e.g.:
for x = 1 to 100
cmd & x.enabled = true
next
Thanks guys
Regards Matt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tag property also worked a treat
cheers
Matt