Courtney Ruggles
New Member
- Joined
- Jun 6, 2008
- Messages
- 5
I am currently using the validation tool to limit the number of selections in column A of my worksheet to 3 or less (The selections are made using a double-click VB code). The formulat that I am using for the allowance criteria is: =COUNTIF($A$11:$A$10001,"a")<4. Currently, the formula and the limitation is working fine and the error box is popping up at the appropriate time (i.e. when the 4th selection is made). However, if I click "Cancel" in the Error box, the spreadsheet allows the 4th selection to remain. Is it possible to use VB code to force the 4th selection to be deleted once the error box pops up?
Thank you in advance for your time and help!! I appreciate it!
~CR
Thank you in advance for your time and help!! I appreciate it!
~CR