Programatically filter a protected shared workbook

N

Neill

How can I filter a protected shared worksheet?

I have allowed filtering in protection & can filter the protected worksheet
manually but if I try using vba it says its protected. I can't unprotect then
filter because it's a shared workbook.

You can't protect or unprotect a shared workbook.

I have tried ws.Protect UserInterfaceOnly:=True

Command used to try to filter is:
Selection.AutoFilter Field:=3, Criteria1:="LK", VisibleDropDown:=False

Why can I manually filter not not using the above command.

Regards
Neill
 
N

Neill

The question was never answered, nobody came up with an answer not worked, am
I not allowed t ask the qustion again. I can understand your comment if the
question was answered.
 
N

Neill

I understand what your saying I just feel telling me I can't do it is not
really an answer. What I can't understand is why I can filter it manually but
not with a line of code.

Thanks for your detailed reply anyway & if I can't find a actual answer to
the question I may have to consider alternatives.
 

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