Hi Everyone,
I am currently using a code that automatically copies a row to the next blank row in Sheet 5 when a date is entered into Column 14 and then deletes the row. The only problem is that if I start typing into the wrong row and delete the text before clicking off that wrong cell, the code still runs. I have tried two different versions of the code:
Both of these codes have the problem I discussed above. In an attempt to fix it (Since I am entering a date into Column N) I changed the If statement to:
Now, if I start typing into the wrong cell and delete the text before clicking off the cell, the code does not run which is what I want. If I enter a date, the code runs correctly, but I get a "Type Mismatch Error" when it is completed. The debugger shows that the error is in the statement that I changed. I can't seem to figure out why this is happening, and I'm about to start banging my head against the wall. I wouldn't even worry about this, except that I am not the one that will be entering data into the sheet. If the person using the spreadsheet makes a mistake, they won't know how to fix it.
Bookmarks