跳到主要内容

如何在Excel中识别并选择所有锁定的单元格?

为了防止重要单元在分发之前被修改,通常我们会锁定并保护它们。 但是,当我们稍后重新编辑工作表时,我们可能会在记住锁定单元格的位置时遇到麻烦,并时不时弹出警告警报。 因此,我们为您介绍了三种快速识别和选择Excel中所有锁定单元格的棘手方法。


使用“查找”命令识别并选择所有锁定的单元格

实际上,我们可以按照以下步骤使用“查找”命令找出活动工作表中所有锁定的单元格:

:点击 主页 > 查找和选择 > 找到最适合您的地方 打开 查找和替换 对话框。 你也可以打开这个 查找和替换 对话框,按 Ctrl + F 键。

: 点击 格式 按钮在 查找和替换 对话框。 如果您无法查看 格式 按钮,请点击 附加选项 首先。
文档选择锁定单元格1

:现在您进入 查找格式 对话框,检查 锁定 选项下 的故事 选项卡,然后单击 OK.
文档选择锁定单元格2

步骤4: 然后回到 查找和替换 对话框中,单击 找到所有 按钮。 现在,所有锁定的单元格都已找到并在此对话框的底部列出。 您可以按住来选择所有搜索结果 按Ctrl 键或 转移 键,或按 按Ctrl + A 键。
文档选择锁定单元格3

如果您检查 选择锁定的单元格 当你选择 锁定并保护所选单元格,它将选择活动工作表中的所有锁定单元格,反之亦然。


使用 Kutools for Excel 识别并选择所有锁定的单元格

Kutools for Excel的 选择具有格式的单元格 实用程序可以帮助您快速选择特定范围内的所有锁定单元格。 您可以执行以下操作:

Kutools for Excel - 包含 300 多个 Excel 基本工具。 享受全功能 30 天免费试用,无需信用卡! 现在下载!

1.选择要选择所有锁定单元格的范围,然后单击 库工具 > 选择 > 选择具有格式的单元格.

2.在打开的“使用格式选择单元格”对话框中,您需要:

 

(1)点击 从Cel选择格式l按钮,然后选择一个锁定的单元格。

备注:如果您不记得哪个单元格被锁定,请在空白纸中选择一个以前从未使用过的单元格。

(2)取消选中 Type 选项;

(3)仅检查 锁定 选项;

 

3。 点击 Ok 按钮。

然后,您将看到在选定范围内所有锁定的单元格都被选中,如下图所示:

Kutools for Excel - 使用 300 多种基本工具增强 Excel 功能。 享受全功能 30 天免费试用,无需信用卡! 立即行动吧!


使用 Kutools for Excel 突出显示解锁实用程序识别所有锁定的单元格

实际上,Kutools for Excel 提供了另一种 突出显示解锁 实用程序以突出显示整个工作簿中所有未锁定的单元格。 通过此实用程序,我们可以一眼识别所有锁定的单元格。

Kutools for Excel - 包含 300 多个 Excel 基本工具。 享受全功能 30 天免费试用,无需信用卡! 现在下载!

点击 Kutools 加 > 工作表设计 使之成为可能 设计 选项卡,然后单击 突出显示解锁 上的按钮 设计 标签。 请参见下面的屏幕截图:

现在,您将看到所有未锁定的单元格都用颜色填充。 没有此填充颜色的所有单元格都是锁定单元格。

请注意: 锁定当前工作簿中的未锁定单元后,填充颜色将自动删除。

Kutools for Excel - 使用 300 多种基本工具增强 Excel 功能。 享受全功能 30 天免费试用,无需信用卡! 立即行动吧!


演示:从选择或当前工作表中识别并选择所有锁定的单元格


Kutools for Excel:超过 300 个方便的工具触手可及! 立即开始 30 天免费试用,没有任何功能限制。 立即下载!

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 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