Skip to main content

How to protect worksheet from viewing in Excel?

Author: Siluvia Last Modified: 2020-09-07

This article is talking about protecting worksheet from other users viewing in Excel.

Protect worksheet from viewing in Excel

Protect worksheet from viewing in Excel

Please do as follows to protect a specific worksheet from viewing in Excel.

1. Open the worksheet you want to protect from viewing, right click the sheet tab and select Hide from the context menu to hide the worksheet. See screenshot:

2. Click Review > Protect Workbook.

3. In the Protect Structure and Windows dialog box, enter a password into the Password textbox, keep the Structure box selected and then click the OK button. Then confirm the password in the Confirm Password dialog box. See screenshot:

Now the specific worksheet is protected for viewing in the workbook.

Related articles:

Best Office Productivity Tools

ūü§Ė Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions‚Ķ
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
¬ŅC√≥mo puedo hacer si aun quiero que el usuario sea capaz de agregar nuevas hojas, y en general, cambiar la estructura del documento? Lo unico que quiero es proteger la hoja oculta, pero que todas las demas funciones sigan activas.
This comment was minimized by the moderator on the site
Hi Vannia,
The methods in the following article may help to solve the problem. Please give it a try.
How To Set Password To Protect Hidden Sheet In Excel?
This comment was minimized by the moderator on the site
How to prefent, when a person knows the file name and location and the sheetname, to simply acces the data from an other sheet using a formula?
I.e. my sheet is called 'Test.xlsm', sheetname is 'Sheet1'. Even if the excel is protected en the sheet is hidden. You can easily put a formula in an other sheet in cell 'A1'='[Test.xlsm]Sheet1'!A1. You copy this to the entire sheet and all data is visibile in the other sheet. Is there a way to protect this.
This comment was minimized by the moderator on the site
Hi Rossi,
If you just protect the structure of the workbook, you cannot prevent the worksheet data from being obtained using formulas, even if the worksheet is hidden.
To avoid this, maybe you can encrypt the workbook with a password, so that you need a password to open the workbook. If the person who wants to access the data via the formula cannot provide a password. The formula will return an error value.
This comment was minimized by the moderator on the site
Hi all,
I tried it and it works, but I was a little disappointed when I saw that, once unlocked, the protection of the structure just disappears. I was hoping that it stayed active and with the same password every time the user closed the file.

In my case it is not sufficiently efficient. I need to have a file that I can update daily without risking that other people read the secret sheets. It means opening it, unlocking the workbook protection, updating the content of the sheets, re-hiding them so that nobody but me can read them the next time the file gets opened, saving it then closing it. If I have to reset the protection every time, it is less friendly than I expected.

If there is a better way to do what I need to be done, please let me know. Thank you all. Bye,
This comment was minimized by the moderator on the site
Hi Macro,
There is a way to help you automatically protect a specified worksheet every time you save a workbook.
But first you still need to unhide the worksheet manually and unprotect the worksheet before you can edit it. After editing, press Ctrl+S or click the Save button and the worksheet will be protected automatically.
Youc can try the VBA code in the following article.
How To Auto Protect A Specific Worksheet In Excel?
This comment was minimized by the moderator on the site
Bonjour Cristal,

Votre réponse répond partiellement au problème de Marco.

C.à.d. lorsqu'il est seul à travailler sur le document aucun problème, il le déprotège et y travaille. Et Lorsqu'il a fini, il le ferme et la protection est remise.

Par contre, lorsqu'il travaille simultanément avec d'autres sur le document, vu que le document est déprotégé, les autres voient aussi toutes les feuilles que Marco aurait souhaitées protéger. C'est là le soucis.

J'avoue que je n'ai pas encore de solution mais je tenais à clarifier ces deux cas d'utilisation.

Au plaisir.
This comment was minimized by the moderator on the site
Thanks gents, exactly what I needed.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations