Note: The other languages of the website are Google-translated. Back to English

How to protect worksheet from viewing in Excel?

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:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks gents, exactly what I needed.
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,
Marco
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
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.
https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/protect_workbook.png
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations