I need 2 macros, one for a button when clicked to insert the text "NO", a second macro for a button when clicked to insert the text "YES". Both in range "B7:B200".
Meaning if I click the button "NO", it will insert the text "NO" in first cell from range "B7:B200", meaning B7. After that if I click the button "YES", it will insert the text "YES" in the next cell meaning B8. And so on, each time I click the button YES or NO, to insert the text "Yes" or "NO", in each cell one by one, in same column, range "B7:B200".
Example (please see below excel):
Step 1. Click button YES
Step 2. Click button NO
Step 3. Click button NO
Step 4. Click button YES
Step 5. Click button NO
etc
Meaning if I click the button "NO", it will insert the text "NO" in first cell from range "B7:B200", meaning B7. After that if I click the button "YES", it will insert the text "YES" in the next cell meaning B8. And so on, each time I click the button YES or NO, to insert the text "Yes" or "NO", in each cell one by one, in same column, range "B7:B200".
Example (please see below excel):
Step 1. Click button YES
Step 2. Click button NO
Step 3. Click button NO
Step 4. Click button YES
Step 5. Click button NO
etc
Test.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | |||||
2 | NO | ||||
3 | |||||
4 | YES | ||||
5 | |||||
6 | |||||
7 | YES | ||||
8 | NO | ||||
9 | NO | ||||
10 | YES | ||||
11 | NO | ||||
12 | |||||
13 | |||||
14 | |||||
15 | |||||
16 | |||||
17 | |||||
18 | |||||
19 | |||||
20 | |||||
Sheet1 |