Originally Posted by
blindzero678
It seems to me that it shouldn't be setting the checkbox values to Null, if I'm not mistaken?
You're right, the code looks right on the checkboxes. On the date, 0 printed with a date format is Dec 31 1899, so you might have to change the formatting to have it be blank. It does seem to me that assigning a value of "" would be enough, but obviously it isn't.
I would have to see your workbook to track down what is doing it.
You can try this:
Put a breakpoint on the line
( or put a "Stop" just after it).
When the code stops, you can bounce back and forth between Excel and VBE to see the effect of every line.
1st look to see if the checkboxes have been cleared. If they haven't then you know there is something in this code that does it.
Assuming that they look alright then go back to the VBE and click F8. This will step you through the code one line at a time. And every time it does something go look on the worksheet to see the effect.
Other than that you will have to post your workbook. Leave a few names and data in the file, but change the names so they are not recognized.
Bookmarks