View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rowan[_2_] Rowan[_2_] is offline
external usenet poster
 
Posts: 226
Default sheet protection and autofilter

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


"Imran" wrote:

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