Set multiple cmd boxes to enabled = true
Posted on 2008-11-13
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