Hmm,

I just tested this and I am able to hide columns before and after I have filtered rows using a macro. Could you please upload your workbook for me to take a look at.

Thanks