It's been 10 years since I was in VBA and I'm very rusty so any assistance on my current project is greatly appreciated. We are trying to do an invoice upload to our system instead of manually enter every invoice.
I've written the vba to take data from one sheet to a new sheet with no issue including duplicating rows that have values in column M. Where I'm stuck is I need to locate those duplicate rows and clear the contents in contents that duplicate row so that it is no longer a duplicate.
Right now, it copies the data that has "Ready to Invoice", has not been sent (No "Yes" in Column W), and is not waiting for PO (Column S). Once it pulls that in, it goes back through and duplicates any rows that are not blank in Per Diem (Column M). The reason we duplicate is because the Per Diem will have to be a separate line on the invoice and our import process requires it to be a separate row in excel in order to do that.
If clearing the contents in Price of the duplicate row is not an option, then I need to have the duplicate row highlighted so I can manual update Price column for the duplicates.
The data can be sorted by Date, Billing, Site, and customer if it helps as that will have to happen before we upload.
Just an fyi.. the image only shows a few rows, but by December our billing tracker will be close to 20,000 rows. It grows by almost 5,000 rows a year.
I've written the vba to take data from one sheet to a new sheet with no issue including duplicating rows that have values in column M. Where I'm stuck is I need to locate those duplicate rows and clear the contents in contents that duplicate row so that it is no longer a duplicate.
Right now, it copies the data that has "Ready to Invoice", has not been sent (No "Yes" in Column W), and is not waiting for PO (Column S). Once it pulls that in, it goes back through and duplicates any rows that are not blank in Per Diem (Column M). The reason we duplicate is because the Per Diem will have to be a separate line on the invoice and our import process requires it to be a separate row in excel in order to do that.
If clearing the contents in Price of the duplicate row is not an option, then I need to have the duplicate row highlighted so I can manual update Price column for the duplicates.
The data can be sorted by Date, Billing, Site, and customer if it helps as that will have to happen before we upload.
Just an fyi.. the image only shows a few rows, but by December our billing tracker will be close to 20,000 rows. It grows by almost 5,000 rows a year.