The issue I have is this: Whenever a new CellX that is not found on ws2 an error of Error 1004 Application defined or object-defined error on the last part of code: "ws2.Cells(emptyRow, emptyCol).Value = DateAdd("d", -1, Date)" keeps popping up. It still enters the data the way I want, but the rest of the code doesn't run after that error comes up. When I take that part of code out, it works without having any errors, but it does not add the date in the empty column beside Res.
I hope this makes sense with the code I provided. Is it something with the emptyCol= function?
Bookmarks