sheet protection and autofilter

  • Thread starter Thread starter Imran
  • Start date Start date
I

Imran

Hello All,

I have auto filters my data in the xls worksheet, and also I
have protected the sheet. but after protecting am not able to select from
the
auto filterd combobox. Please send me solution

Thanks In Adv
 
If you are using Excel 2002 then check the Use Autofilter checkbox when
protecting the sheet.

Otherwise you will need to use the following vba code to allow autofilter
and then protect the sheet.

ActiveSheet.EnableAutoFilter = True
ActiveSheet.Protect contents:=True, userInterfaceOnly:=True
 

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