Hi, each day I send out the latest 14 days of sales data. However I am forced to obtain the raw data from a system where you can only filter on month, so I have to filter between 2 months to be sure to get a rolling 14 days.
When downloaded to Excel, cols A to H are fixed as these contain various levels of the company hierarchy, then from Col I onwards are the daily sales results. So today the 11th May, would mean I filtered my web report on April and May so that would be 40 columns to cover April 1st to May 10th.
I then manually highlight and delete all but the furthest 14 columns to the right. so today I deleted 26 columns, My final range is then A to V.
Is there a way of doing this within some code, any tips gratefully taken on board.
When downloaded to Excel, cols A to H are fixed as these contain various levels of the company hierarchy, then from Col I onwards are the daily sales results. So today the 11th May, would mean I filtered my web report on April and May so that would be 40 columns to cover April 1st to May 10th.
I then manually highlight and delete all but the furthest 14 columns to the right. so today I deleted 26 columns, My final range is then A to V.
Is there a way of doing this within some code, any tips gratefully taken on board.