G
Guest
I have a sheet with two buttons. I want only one to be active at a time based on some data. The buttons were created by simply clicking on the Button button on the Forms toolbar and drawing it in
I have a script that runs and checks some data and if one cell has a certain value, that will mean one of the buttons needs to be disabled (greyed out). How can I do this? I can't seem to find any properties or anything allowing me to access the button by name or anything like that that would allow me to do this. Can it be done
I would basically want to have something like
If Range("I8").Value = "x" The
button1.enabled=fals
button2.enabled=tru
Or something along those lines...
Thank
I have a script that runs and checks some data and if one cell has a certain value, that will mean one of the buttons needs to be disabled (greyed out). How can I do this? I can't seem to find any properties or anything allowing me to access the button by name or anything like that that would allow me to do this. Can it be done
I would basically want to have something like
If Range("I8").Value = "x" The
button1.enabled=fals
button2.enabled=tru
Or something along those lines...
Thank