Greetings, all.
I'm new to VBA, but the logic of coding in general is not lost on me. My problems usually stem from unfamiliar syntax.
Scenario... I have 2 worksheets (Sheet4 and Sheet5) in the same workbook. I am entering data into Sheet4 (either one line per macro run or multiple lines per.... doesn't matter) starting at row 4, as the above rows have headers and so forth. The macro looks to see if there are the initials "LP" in column "Q" (x, 17). If there is, it cuts that row and activates Sheet5 and pastes the cut row's data into the row and goes back to Sheet4 and loops until there are no more rows with "LP" in column Q.
The breakdown is that it keeps overwriting on the same row in Sheet5. Even if I save the workbook after each macro run, it doesn't offset like I think it's supposed to.
I'll be honest and admit this is not code I came up with entirely. Reading around I have sniped bits and pieces from all over, so if it looks like a VBA trainwreck I apologise. The worksheets also have colored cells which, from what I've read, can throw off the percieved bottom edge of the used rows. So I tried creating a new workibook (no formatting at all) and manually entered data in the necessary fields to make it cut/paste but I get an error (424 object required, iirc). I think the problem, amongst others, is I have fiddled with and tweakd with it too much in order to break.fix my way to learning.
Any guidance would be very much appreciated.
Bookmarks