Each month I have a report that shows all billing details for each customer. I customize the data quite a bit and then I have a time consuming process of separating out each customer's detail into a sheet for them.
I wonder if there is a way to parse each customer's data into a workbook of their own? each customer has a unique identifier (column A) - maybe that could be the file name since it is a single word and unique and no special characters? there is a black row which separates each customer although I could make this area anything... I could make that black row area the row names instead if that is easier. I already have a macro to copy the top row and place it between each new agency.
so, for the part I am hoping to find help... each month, I copy the items for each agency in columns B-K and paste that into a detail sheet for each agency. I have also attached a sample of the billing sheet.
please keep in mind... the number of rows for each customer varies. some customers have 2 rows and some have 90 rows.
Any help would be appreciated. Please ask any questions I may not have covered.
if needed, the macro I currently use to insert the black row between each agency
Sub InsertRowAndHeaderChangeInValue()
Dim lRow As Long
For lRow = Cells(Cells.Rows.Count, "A").End(xlUp).Row To 2 Step -1
If Cells(lRow, "A") <> Cells(lRow - 1, "A") Then Rows(lRow).EntireRow.Insert
Sheet1.Range("A1").EntireRow.Copy
Next lRow
End Sub
Bookmarks