Hi Everyone.
I have a variable number (say 50-100) of lines of data that is automatically
imported from a file into my worksheet on a daily basis. When this happens, I
have a sub that runs and adds a checkbox next to each of the 50-100
lines...i.e. each line has, following the code running, a checkbox to
determine whether to include or not.
I want to be able to detect when a user checks one of these boxes, to ensure
that they check no more than three in total (of the 50+). I've tried
detecting whether the underlying cell (i.e. the cell that has the true/false)
changes, but the code only works when it is changed manually - not when it
changes due to the checkbox itself being clicked/unclicked. I also thought
about making code for EACH of the checkboxes individually, but as I never
know how many there will be this is impractical and not advised I don't think.
Can anyone offer any advice?
Thanks in advance,
David
Bookmarks