Hi,

I'm still pretty noob in vba so i might just ask.

I have this macro and one part of it is a sheet of mutations. Sometimes there are no mutations so the file only has a header.

The macro applies a autofilter anyways to look for a criteria. However, sometimes it cant find this because the list is empty.

Is there a easy If statement like:

if rowcount >1 then apply autofilter blabla
else if
nothing

Can someone help?

thanks