Metaripley
Board Regular
- Joined
- Dec 31, 2014
- Messages
- 93
I have got an protected and shared sheet.
Which I want some macros to run a filter. And I cant unshare/unprotect/filter/protect/share because other users may lose data ar have to save a copy of the file. (which is bad!)
So is there a way around this problem (programmable in VBA) so I can filter in a protected file without unprotecting it?
Which I want some macros to run a filter. And I cant unshare/unprotect/filter/protect/share because other users may lose data ar have to save a copy of the file. (which is bad!)
So is there a way around this problem (programmable in VBA) so I can filter in a protected file without unprotecting it?
Code:
Sub filter()'
' filtertest Macro
'
'
ActiveSheet.ListObjects("Table1").Range.AutoFilter Field:=3, Criteria1:= _"done"
End Sub