As a repeatable item I do an autofilter and then delete the visible rows under the header. The macro below is what I usually use. Today I started getting an error on the "delete" line, when using it, so the commented out code is the backup line I tried to use. Either way, I get an application-defined or object-defined error code 1004 on the "delete line". It's working in one workbook so far out of two I've tested, and not working in the other. I'd appreciate any clues as to why it may not be working.
Bookmarks