Password remover macro

I've been "muddling" with not much success in trying to create a macro that will allow me to:
1. Remove the password from a worksheet
2. Remove all passwords from a workbook
Frank FreeseAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glenn RayExcel VBA DeveloperCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rory ArchibaldCommented:
Is it the same password for all sheets?
Frank FreeseAuthor Commented:
Yes - same password
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Frank FreeseAuthor Commented:
Well it worked but for the life of me I'd never have figured that out. WOW - one would think there's an easier way. But I'm grateful, regardless.
Frank FreeseAuthor Commented:
thanks folks
Glenn RayExcel VBA DeveloperCommented:
It's not supposed to be easy.  But I've used the AllInternalPasswords macro a few times myself and it's come in handy.
Rory ArchibaldCommented:
I assumed you knew the password!
Frank FreeseAuthor Commented:
The macro I got from Glenn actually remove the password so that's ok. thanks for wanting to help. I appreciate it
Rory ArchibaldCommented:
I realise that, but if you knew the password, the code doesn't need to be anywhere near as complicated.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.