Hi
I have an array of command buttons which I set to 'enabled' in my program.
This is done individually on seperate lines of code e.g.
cmdButton(0).En abled = True
cmdButton(1).En abled = True
cmdButton(2).En abled = True
cmdButton(3).En abled = True
etc..
Is there a way to group this coding onto one line e.g.
cmdButton(0 to 10).Enabled = True
I'm sure this has a simple solution but I can't find answers as yet, any
help is much appreciated.
I have an array of command buttons which I set to 'enabled' in my program.
This is done individually on seperate lines of code e.g.
cmdButton(0).En abled = True
cmdButton(1).En abled = True
cmdButton(2).En abled = True
cmdButton(3).En abled = True
etc..
Is there a way to group this coding onto one line e.g.
cmdButton(0 to 10).Enabled = True
I'm sure this has a simple solution but I can't find answers as yet, any
help is much appreciated.
Comment