跳到主要內容

如何防止工作表在Excel中查看?

本文討論的是保護工作表免受其他用戶在Excel中查看。

保護工作表以免在Excel中查看


保護工作表以免在Excel中查看

請執行以下操作以防止特定工作表在Excel中查看。

1.打開要防止查看的工作表,右鍵單擊工作表選項卡,然後選擇 隱藏 從上下文菜單中隱藏工作表。 看截圖:

2。 點擊 回顧 > 保護工作簿.

3。 在裡面 保護結構和窗戶 對話框中,輸入密碼 密碼: 文本框,保留 結構體 框選中,然後單擊 OK 按鈕。 然後在 確認密碼 對話框。 看截圖:

現在,特定的工作表受到保護,可以在工作簿中查看。


相關文章:

最佳辦公生產力工具

熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

kte選項卡201905


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
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.
Gracias
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.
https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/protect_workbook.png
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
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