G
Guest
Hello
I'm running into some trouble when trying to use checkboxes
Here's my problem which I try to solve
Students hand in their reports from the lab, teaching assistants enter the results (yes/no) into an excel worksheet. Now, this worksheet must be done in a way that it is easy to use (such as cliciking checkboxes) and does not require the macros to be enabled (thus no userform works)
After these worksheets are collected, I want to be able run a simple macro which will
1. check the answers vs. a databas
(The database would be something like this with checkboxe
1. YNNYY
2. NNYYNY...
2. create an output where it shows the student's answers and below if they are correct or not
However, right now I'm stuck on #1. I couldn't find a way to cycle through the checkboxes, find out if they are checked or not. If I refer to them as members of the Shapes collection I can cycle, but cannot check the state. If I refer to them as objects on the worksheet (worksheets(1).checkbox1...) then I cannot cycle it. Does anybody have any suggestions? Thanx.
I'm running into some trouble when trying to use checkboxes
Here's my problem which I try to solve
Students hand in their reports from the lab, teaching assistants enter the results (yes/no) into an excel worksheet. Now, this worksheet must be done in a way that it is easy to use (such as cliciking checkboxes) and does not require the macros to be enabled (thus no userform works)
After these worksheets are collected, I want to be able run a simple macro which will
1. check the answers vs. a databas
(The database would be something like this with checkboxe
1. YNNYY
2. NNYYNY...
2. create an output where it shows the student's answers and below if they are correct or not
However, right now I'm stuck on #1. I couldn't find a way to cycle through the checkboxes, find out if they are checked or not. If I refer to them as members of the Shapes collection I can cycle, but cannot check the state. If I refer to them as objects on the worksheet (worksheets(1).checkbox1...) then I cannot cycle it. Does anybody have any suggestions? Thanx.