I have seven command buttons pasted on a sheet called Data. The button names are cmd1, cmd2, cmd3, etc. Rather than referring to each button directly, I'm trying to do something like this:
in a loop I have the following:
Set oCmd = cmd & i
ocmd.Enabled = true
This is not working. Any ideas would be appreciated.
Thanks.....Franco
in a loop I have the following:
Set oCmd = cmd & i
ocmd.Enabled = true
This is not working. Any ideas would be appreciated.
Thanks.....Franco