Here is the trouble.
We recieve files throughout the month that contain subtotals. I need to remove them and create a table to be used elsewhere. Very simple you would think. I recorded a few macros that did the trick and edited them together, tested them several times till I got what I wanted and was very happy till I got the next file where it failed to work. The macro removed the subtotal feature, but left the subtotal lines in the spreadsheet forcing a manual process to filter out and delete those line. A little detective work showed the when clicking on the subtotal icon, the dialog did not reflect the subtotals in the table
Actual Subtotal criteria was sum of Balance by Account Name. When clicking on the dialog it shows Sum of Notes by Invoice Number. When you click remove all it removes is the Subtotal features in the left window, but leaves each subtotal line, which then has to be filtered and deleted. The way around this is to fix the subtotal box, then click remove all, but I can't record this in my macro this way. It just says Cells.RemoveSubtotal.
This must sound confusing. Ask away and I'll try to clarify. If I can get through this subtotals problems, the rest is not too dificult.
Thanks in advance.
Bookmarks