I have a large sales data report containing severalgroups of customers. I would like to automatically generate individual usagereports (separate files so not by tab) from this large file for each groupevery month and save them separately on a shared drive. I would like to also have each reportautomatically be customized with different headers (based on customersrequest); however, I could evade this if it is not possible.
Here is a condensed example of my sales report. The actual report has several rows for eachgroup that contains different sales, document date, customer ID, and etc. I would like to combine all data in columns A,C, E, H, and I related to the group ABC. With the combined data, I would like them to be copied and pasted onto anew worksheet and saved on a shared drive under a folder named ABC. Is there a macro or method to do this? Would I need to do a find and search on thegroup name, and then copy the data onto a new worksheet?
[TABLE="width: 817"]
<tbody>[TR]
[TD="width: 86"] Customer ID
[/TD]
[TD="width: 78"] Item ID
[/TD]
[TD="width: 113"] Document Date ID
[/TD]
[TD="width: 133"] Accounting Year DESC
[/TD]
[TD="width: 127"] Calendar Month DESC
[/TD]
[TD="width: 98"] Calendar Year ID
[/TD]
[TD="width: 56"] [/TD]
[TD="width: 117"] [/TD]
[TD="width: 91"] [/TD]
[TD="width: 191"] [/TD]
[/TR]
[TR]
[TD="width: 86"] 209103997
[/TD]
[TD="width: 78"] 075704259
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"] [/TD]
[TD="width: 117"] [/TD]
[TD="width: 91"] [/TD]
[TD="width: 191, bgcolor: transparent"] ABC
[/TD]
[/TR]
[TR]
[TD="width: 86"] 209103998
[/TD]
[TD="width: 78"] UN5758511
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"] [/TD]
[TD="width: 117"] [/TD]
[TD="width: 91"] [/TD]
[TD="width: 191, bgcolor: transparent"] DEF
[/TD]
[/TR]
[TR]
[TD="width: 86"] 209103999
[/TD]
[TD="width: 78"] UN5758529
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"] [/TD]
[TD="width: 117"] [/TD]
[TD="width: 91"] [/TD]
[TD="width: 191, bgcolor: transparent"] GHI
[/TD]
[/TR]
[TR]
[TD="width: 86"] 209104289
[/TD]
[TD="width: 78"] 075704259
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"] [/TD]
[TD="width: 117"] [/TD]
[TD="width: 91"] [/TD]
[TD="width: 191, bgcolor: transparent"] JKL
[/TD]
[/TR]
</tbody>[/TABLE]
Here is a condensed example of my sales report. The actual report has several rows for eachgroup that contains different sales, document date, customer ID, and etc. I would like to combine all data in columns A,C, E, H, and I related to the group ABC. With the combined data, I would like them to be copied and pasted onto anew worksheet and saved on a shared drive under a folder named ABC. Is there a macro or method to do this? Would I need to do a find and search on thegroup name, and then copy the data onto a new worksheet?
[TABLE="width: 817"]
<tbody>[TR]
[TD="width: 86"] Customer ID
[/TD]
[TD="width: 78"] Item ID
[/TD]
[TD="width: 113"] Document Date ID
[/TD]
[TD="width: 133"] Accounting Year DESC
[/TD]
[TD="width: 127"] Calendar Month DESC
[/TD]
[TD="width: 98"] Calendar Year ID
[/TD]
[TD="width: 56"]
Qty Sold
[TD="width: 117"]
Price Paid Each
[TD="width: 91"]
Sales
[TD="width: 191"]
Group Name
[/TR]
[TR]
[TD="width: 86"] 209103997
[/TD]
[TD="width: 78"] 075704259
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"]
1
[TD="width: 117"]
$ 36.00
[TD="width: 91"]
$ 36.00
[TD="width: 191, bgcolor: transparent"] ABC
[/TD]
[/TR]
[TR]
[TD="width: 86"] 209103998
[/TD]
[TD="width: 78"] UN5758511
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"]
0
[TD="width: 117"]
$ 1.52
[TD="width: 91"]
$ 1.52
[TD="width: 191, bgcolor: transparent"] DEF
[/TD]
[/TR]
[TR]
[TD="width: 86"] 209103999
[/TD]
[TD="width: 78"] UN5758529
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"]
0
[TD="width: 117"]
$ 1.76
[TD="width: 91"]
$ 1.76
[TD="width: 191, bgcolor: transparent"] GHI
[/TD]
[/TR]
[TR]
[TD="width: 86"] 209104289
[/TD]
[TD="width: 78"] 075704259
[/TD]
[TD="width: 113"] 8/12/2019
[/TD]
[TD="width: 133"] Fiscal 2020
[/TD]
[TD="width: 127"] August 2019
[/TD]
[TD="width: 98"] 2019
[/TD]
[TD="width: 56"]
1
[TD="width: 117"]
$ 36.00
[TD="width: 91"]
$ 36.00
[TD="width: 191, bgcolor: transparent"] JKL
[/TD]
[/TR]
</tbody>[/TABLE]