Hi
Thanks for feedback and rep. You could "compress" the code a bit more if you wish i.e.
should work just as well. For headings as Holger pointed out you add the Offset command. So an offset of 3 will "save" the 3 top rows in the filtered range i.e.
The Offset command has a row and a column offset. If only one number is given it is interpreted as a row offset. For a column offset the command could be
This will copy the used range ignoring the first two columns with data.
An alternative to using "ActiveSheet.UsedRange" is the "CurrentRegion" command. Very handy when working with tables or you has data surrounded by text that should not be included but your data must be “isolated” by a blank range all around it.
In this case you need to add the upper left corner of your data range i.e.
Alf
Bookmarks