Forum Discussion
Carl_Stephens
Sep 15, 2020Copper Contributor
VBA code locks out autofilter
Hello People, The below code runs perfectly, however, the password also locks of the ability to use autofilters after the code has run......can someone kindly advise the code that I need to add s...
- Sep 15, 2020
Change
wsData.Protect ("ML")
to
wsData.EnableAutoFilter = True
wsData.Protect Password:="ML", UserInterfaceOnly:=True
HansVogelaar
Sep 15, 2020MVP
Change
wsData.Protect ("ML")
to
wsData.EnableAutoFilter = True
wsData.Protect Password:="ML", UserInterfaceOnly:=True
- Carl_StephensSep 15, 2020Copper ContributorThank you again Hans.....I really appreciate it. I am still new to VBA coding and learning, and some things I simply cannot work out lol. Thank you again.