If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
[This is the first tutorial emailed in 2017 to members of my Excel Heaven Visual Basic Automation Tutorial]
Sometimes you have a multi-worksheet workbook in which you’d like to apply blanket password protection to every sheet, without having to do so manually.
The two macros in this workbook enable the user apply and remove password protection to each sheet manually.
The user is prompted to enter the password when each macro runs.
What I’ve done is to place 2 form control command buttons on the “Staff” worksheet – with each labelled with descriptive text indicating its function (see screenshot below).
In the screenshot video tutorial accompanying this message and the MS Excel multi-worksheet working I explain the various lines of code in the first macro. A second video will follow.

Posted on 15 January 2017
Tags: Excel Heaven Tutorial 07, Macro Protect or Unprotect Worksheets in a Workbook
About the Author
Tayo K. Solagbade is a Location Independent Performance Improvement Specialist and Multipreneur (i.e. a highly versatile/multi-skilled entrepreneur), with a bias for delivering Best Practice solutions to Farm Businesses and others.
Since 2002, he has earned multiple streams of income providing individuals and organisations with personal development training and coaching, custom MS Excel-VB solutions, web marketing systems, freelance writing services, and best practice extension support services (for farm business owners).
Tayo is the author of the Self-Development (SD) Bible™, the popular Livestock Feed Formulation Handbook, and developer of its accompanying Excel-VB driven Ration Formulator - as well as the increasingly popular Monthly Poultry Farm Manager app.
On 1st April 2013, Tayo (who reads, writes and speaks the French language) relocated to Cotonou, in the French Speaking Benin Republic on the first lap of his slow travels across the West African region. His key purpose is to deliver talks, seminars and workshops on his key areas of focus and interest to interested audiences (Email tayo at tksola dot com for details).
When he's not amazing clients with his superhuman skills (wink), Tayo works as the creative force behind his Daily Self-Development Nuggets blog - on which he also publishes previews of paid issues of The Farm CEO™ Newspaper (www.thefarmceo.net), in addition to his FREE Weekly Public Speaking/Web Marketing IDEAS newsletter - which he uses to promote Burt Dubin's Public Speaking Mentoring service to experts across the African continent.
Visit Tayo's Flagship Performance Improvement website to download over 10 performance improvement resources to boost your personal and work related productivity.
Join Tayo's international community of fans on his Flagship MS Excel Heaven Facebook page (click here). You can also connect with him via Twitter (@tksola).
Warning: count(): Parameter must be an array or an object that implements Countable in /home1/tayoswdg/public_html/sdnuggets/wp-includes/class-wp-comment-query.php on line 399