Error on auto filter

G

Guest

This should be a quick fix. I want to re-set the autofilter to show all on
workbook open. Problem is when it's already set to show all I get an error
msg.

Private Sub Workbook_Open()
'===============
'reset filter
'===============

Application.ScreenUpdating = False
ActiveSheet.ShowAllData

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top