Hello BJPhil,
I wrote the macro based on the sample workbook. In it, your column headers are all contiguous (no blank cells). This is how the macro determines the number of columns on the worksheet.
The number of rows is determined by the number of entries in column "A". The macro now knows the size of the range to examine. Only the output in "A11:E11" is fixed.
My assumption then is the output range "A11:E11" needs to be moved below the last row of data. Is that what you want?
Bookmarks