Use AutoFilter
From help
This property returns True if the drop-down arrows are currently displayed.
You can set this property to False to remove the arrows, but you cannot set
it to True. Use the AutoFilter method to filter a list and display the
drop-down arrows.
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Rafi" wrote in message
...
I have a protected sheet and would like the on Open event to enable the use
of Autofilters however, my code produces the following resullt
.....
For Each ws In Worksheets
ws.AutoFilterMode = True
Next
Run-Time Error 1004, Application defined or object defined error
Thanks
|