I am getting an Excel 2010 Workbook with chunks of data. There are a variable number of blank rows between each chunk of data. Here's what I do with the data using macros:
- I copy the data from the source workbook into a workbook with my macros.
- I remove the blank rows.
- I then sort the data with 4 sort criteria.
- I then use an advanced filter to extract 6 of the 26 different types of data.
- I then use the VBA code within a macro found here: How to automatically insert a blank row after a group of data to add a blank row after each unique value in Column A, but I am getting numerous blank rows as it appears to be adding a blank rows based on the original data, not the filtered data:
What I need is a way to add a blank row after each unique value in column A after the data is filtered to add sub-totals and counts.