Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 57427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:41:22+00:00 2026-05-10T17:41:22+00:00

I have around 25 worksheets in my workbook (Excel spreadsheet). Is there a way

  • 0

I have around 25 worksheets in my workbook (Excel spreadsheet). Is there a way I can protect all the 25 worksheets in single click ? or this feature is not available and I will have to write a VBA code to accomplish this. I need very often to protect all sheets and unprotect all sheets and doing individually is time consuming

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:41:23+00:00Added an answer on May 10, 2026 at 5:41 pm

    I don’t believe there’s a way to do it without using VBA. If you are interested in a VBA solution, here is the code:

    Dim ws as Worksheet Dim pwd as String  pwd = '' ' Put your password here For Each ws In Worksheets     ws.Protect Password:=pwd Next ws 

    Unprotecting is virtually the same:

    Dim ws as Worksheet Dim pwd as String  pwd = '' ' Put your password here For Each ws In Worksheets     ws.Unprotect Password:=pwd Next ws 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a single excel worksheet which contains lots of table definitions around 50.
I have around 100 models, from MCMCglmm, that give output similar to this: >
I have around 50 textboxes in my webpage, where user can enter numeric values.
I have around 150 gifs (all rather small = 1KB) in a static class
I have around 20 jobs running in SQL Server 2008. The owner of this
I have around 200 database all managed under cpanel phpmyadmin. I need to make
I have around 120 header files (.h files) , and in all of them
I have around 3000 instance of replacement done in hundreds of files. Replacing all
I have around 9 checkboxes with different rel values. How can I get the
I have around 10k video streams that I want to monitor. There's going to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.