Nametest is set as a sheet, and the reason I can't just define it like that is because the macro has to select what sheet from the data. The sheet it should copy to is named after the document number. So the macro checks the rows, whatever document is in that row in column 'h', it takes that data then plugs it into the line
This works now. Or at least I think it does, but it now gets stuck at the line after.
I know this is wrong, but I'm unsure how to write what I'm trying to do.
It should copy the data to the sheet of whatever document is being sent between rows 20-29. It should check for the next empty row between 20-29 and copy the data to specific cells.
Bookmarks