I have a spreadsheet that requires a significant amount of reformatting every two weeks enabling utilization in another program for billing purposes. The ultimate output are invoices. I have two objectives:
The first is to clear contents of cells with duplicate unique identifiers. Column F in the attached sample spreadsheet is the unique identifier. For each subsequent row containing the same identifier, contents of cells in columns A through S are cleared. For example, If F4 = F3, then clearcontents of A4:S4. The following code was successful for the first; however, I have been unable to loop this for the entire worksheet. The master every two weeks is roughly 16,000 lines.
Upon execution of this macro, for each identifier, Column AA requires a renumber from 1 to 100, depending on how many lines exist for that particular identifier. For sample, in the sample attached, the above macro would clear the contents of A4 through S9. Subsequently, AA3 would hold "1", AA3 would hold "2", and so forth until the next unique identifier, which then begins the renumbering process.Please Login or Register to view this content.
Bookmarks