I am trying to create an electronic inventory sheet. This sheet would have check boxes where the caption contains a description of the material. I need the time each checkbox is "checked" to be recorded on the sheet. The number of check boxes can be very few to several hundred. I can get the check boxes on the spread sheet ok, but I can't get the time to stay frozen.
Here is the code I am using to create the check boxes:
I have tried populating an adjacent cell with "=IF(Linkedcell = TRUE, NOW(),"")" but then all the Now()s update whenever one of the boxes is checked or unchecked
I have tried to set up a worksheet_change to replace the now() value, but it doesn't recognize checking the box or the target cell changing from TRUE to FALSE as a worksheet change--it works if I manually change it.
I have tried a little with .OnAction method, but I don't know how to reference the right cell in the code that I call in. (I keep getting lost when reading about how to pass an argument through the .OnAction method.
I am reluctant to build activex checkboxes and assigning code to them with VBE because there could be so many checkboxes and again I am not sure how to correctly reference the right cell.
Any help would be much appreciated.
Thanks,
(I have attached a sample spreadsheet as a visual sample)
Bookmarks