Excel 2000 AutoFilter and Worksheet protection

  • Thread starter Thread starter Guest
  • Start date Start date
If you name the procedure

Private Sub Workbook_Open()

as shown and place it in the ThisWorkbook module (as described), then when
you open the workbook without disabling macros, the code will run and allow
you to set filter criteria in a protected worksheet (the sheet with a
codename of Sheet1 in the example).

The catch is that the autofilter dropdowns must already be visible. To the
best of my recollection, this does not let you apply an autofilter from
scratch so to speak.
 
I don't have a solution, but I can verify you that the
code given on the listed page does not seem to work in
Excel 2000 (unless there are some settings I am
overlooking).
-----Original Message-----
Hi, I am trying to use the VBA code given on the Microsoft website at
http://office.microsoft.com/en-
us/assistance/HA010982701033.aspx but cannot
 

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

Back
Top