跳到主要內容

如何在Excel中識別並選擇所有鎖定的單元格?

為了防止重要單元在分發之前被修改,通常我們會鎖定並保護它們。 但是,當我們稍後重新編輯工作表時,我們可能會在記住鎖定單元格的位置時遇到麻煩,並時不時彈出警告警報。 因此,我們為您介紹了三種快速識別和選擇Excel中所有鎖定單元格的棘手方法。


使用“查找”命令識別並選擇所有鎖定的單元格

實際上,我們可以按照以下步驟使用“查找”命令找出活動工作表中所有鎖定的單元格:

步驟 1:點擊 首頁 > 查找和選擇 > 發現 打開 查找和替換 對話框。 你也可以打開這個 查找和替換 對話框,按 Ctrl + F 鍵。

步驟 2: 點擊 格式 按鈕在 查找和替換 對話框。 如果您無法查看 格式 按鈕,請點擊 選項 首先。
文檔選擇鎖定單元格1

步驟 3:現在您進入 查找格式 對話框,檢查 鎖定 選項下 保護的故事 選項卡,然後單擊 OK.
文檔選擇鎖定單元格2

第一步: 然後回到 查找和替換 對話框中,單擊 找到所有 按鈕。 現在,所有鎖定的單元格都已找到並在此對話框的底部列出。 您可以按住來選擇所有搜索結果 按Ctrl 鍵或 轉移 鍵,或按 按Ctrl + A 鍵。
文檔選擇鎖定單元格3

如果您檢查 選擇鎖定的單元格 當你選擇 鎖定並保護所選單元格,它將選擇活動工作表中的所有鎖定單元格,反之亦然。


使用Kutools for Excel識別並選擇所有鎖定的單元格

Kutools for Excel的 選擇具有格式的單元格 實用程序可以幫助您快速選擇特定範圍內的所有鎖定單元格。 您可以執行以下操作:

Excel的Kutools - 包含 300 多個 Excel 基本工具。 享受全功能 30 天免費試用,無需信用卡! 現在下載!

1.選擇要選擇所有鎖定單元格的範圍,然後單擊 庫工具 > 選擇 > 選擇具有格式的單元格.

2.在打開的“使用格式選擇單元格”對話框中,您需要:

 

(1)點擊 從Cel選擇格式l按鈕,然後選擇一個鎖定的單元格。

備註:如果您不記得哪個單元格被鎖定,請在空白紙中選擇一個以前從未使用過的單元格。

(2)取消選中 類別 選項;

(3)僅檢查 鎖定 選項;

 

3。 點擊 Ok 按鈕。

然後,您將看到在選定範圍內所有鎖定的單元格都被選中,如下圖所示:

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!


使用Kutools for Excel的Highlight Unlocked實用工具識別所有鎖定的單元格

實際上,Kutools for Excel提供了另一個 突出顯示解鎖 實用程序以突出顯示整個工作簿中所有未鎖定的單元格。 通過此實用程序,我們可以一眼識別所有鎖定的單元格。

Excel的Kutools - 包含 300 多個 Excel 基本工具。 享受全功能 30 天免費試用,無需信用卡! 現在下載!

點擊 Kutools 加 > 工作表設計 使之成為可能 設計 選項卡,然後單擊 突出顯示解鎖 上的按鈕 設計 標籤。 請參見下面的屏幕截圖:

現在,您將看到所有未鎖定的單元格都用顏色填充。 沒有此填充顏色的所有單元格都是鎖定單元格。

注意: 鎖定當前工作簿中的未鎖定單元後,填充顏色將自動刪除。

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!


演示:從選擇或當前工作表中識別並選擇所有鎖定的單元格


Excel的Kutools:超過 300 個方便的工具觸手可及! 立即開始 30 天免費試用,沒有任何功能限制。 現在就下載!

最佳辦公生產力工具

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

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

產品描述


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

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
thanks - worked a treat!
This comment was minimized by the moderator on the site
This code works perfect for me. Do you have code to "unselect" the cells?
This comment was minimized by the moderator on the site
Tried using this code. Get at compile syntax error In code Sub Selectlockedcells() highlighted in yellow Red highlighted - For Each Rng In WorkRng If Rng.Locked Then If OutRng.Count = 0 Then Set OutRng = Rng Else Set OutRng = Union(OutRng, Rng) End If      End If Next I'm trying this on a sheet that is protected. Tried protected/unprotected - get same error message
This comment was minimized by the moderator on the site
I've tried to use the VBA code but I get a compile error at the "If Rng.Locked Then" I'm trying to get this to work on a sheet that is protected. I've protected/unprotected but code stops at this point? Am I missing something.
This comment was minimized by the moderator on the site
Under certain conditions, this macro does NOT tell the truth. If you for example unlock the entire column B of a new worksheet and then run the macro, it will wrongly assert that all cells are locked. The reason for such behavior is that format changes (like unlocking a range) applied to entire columns or rows or sheets are mostly affecting cells outside UsedRange as well.
This comment was minimized by the moderator on the site
Thank you for your reply, we have re-write a new code for selecting locked cells directly, and the code is only applied for the used range. Please try it.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations