提示:其它语言是由 Google 机器翻译的。 你可以访问 English 版本。
登录
x
or
x
x
马上登记
x

or

如何锁定和保护所选单元格在Excel中编辑?

通过单击,可以轻松锁定和保护整个工作表或工作簿 保护工作表 按钮或 保护工作簿 按钮下 评论 标签。 但是,有时您可能需要锁定和保护表单中的特定单元格或选择。 你想怎么做? 本文将指导您使用以下步骤在Excel中锁定和保护选定的单元格或范围:

使用修改单元格格式锁定并保护选定的单元格进行编辑

使用Kutools for Excel锁定和保护选定的单元格进行编辑

通过加密锁定并保护所选单元格不被查看 (2步骤)

在Excel中轻松保护/锁定一些单元格以免编辑

Kutools for Excel提供了一个非常简单的方法来保护或锁定在Excel中编辑指定的单元格:通过解锁整个工作表 选择解锁 按钮,然后锁定您将通过编辑锁定的指定单元格 选择锁定 按钮,最后保护当前工作表。 全功能免费试用30天!
广告选择锁解锁1
点击详细步骤.

Office选项卡在Office中启用选项卡式编辑和浏览,使您的工作更轻松......
Kutools for Excel解决了您的大多数问题,并使您的生产率提高了80%
  • 重用任何东西: 将最常用或最复杂的公式,图表和其他任何内容添加到您的收藏夹中,并在将来快速重复使用它们。
  • 超过20文本功能: 从文本字符串中提取数字; 提取或删除部分文本; 将数字和货币转换为英语单词...
  • 合并工具:多个工作簿和表格合二为一; 合并多个单元格/行/列而不丢失数据; 合并重复行和总和...
  • 拆分工具:根据价值将数据拆分为多个表格; 一个工作簿到多个Excel,PDF或CSV文件; 一列到多列......
  • 粘贴跳过 隐藏/过滤行; 数和总和 按背景颜色; 创建邮件列表和 通过Cell的价值发送电子邮件...
  • 超级过滤器: 创建高级过滤方案并应用于任何工作表; 排序 按周,日,频率等; 筛选 通过大胆,公式,评论......
  • 超过300强大的功能; 与Office 2007-2019和365一起使用; 支持所有语言; 在您的企业或组织中轻松部署。

箭头蓝色右泡使用修改单元格格式锁定并保护选定的单元格进行编辑

以下步骤将指导您首先解锁当前所有单元格,锁定所需单元格和范围,然后保护当前工作表。 请做如下:

1。 点击箭头 在工作表的左上角选择活动工作表中的所有单元格。

2。 右键单击任何选定的单元格,然后选择 格式单元格 项目从上下文菜单。 看下面的截图:

3。 在“格式单元格”对话框中,取消选中 锁定 选项下 保护 选项卡,然后单击 OK 按钮。 看上面的截图:

4。 选择要锁定的单元格和范围,右键单击并选择 格式单元格 项目从上下文菜单。

5。 在格式单元格对话框中,检查 选项下 保护 选项卡,然后单击 OK 按钮。 看上面的截图:

6。 点击 评论 > 保护工作表 保护当前的工作表。 看下面的截图:
doc锁定单元格5

7。 在弹出的保护表对话框的空白框中输入密码,然后单击 OK 按钮。 然后重新输入密码到另一个确认密码对话框中,然后单击 OK 按钮。 见上面的截图。

现在它将锁定和保护仅在步骤4中选择的单元格和范围,而取消选择范围是可编辑的。


箭头蓝色右泡使用Kutools for Excel锁定和保护选定的单元格进行编辑

Kutools为Excel的 选择解锁 实用程序和 选择锁定 实用程序使您只需单击一次即可解锁/锁定所有选定的单元格,然后可以保护整个工作表,允许对未锁定的单元格进行编辑。

1。 点击箭头 在工作表的左上角选择活动工作表中的所有单元格。

2。 点击 企业服务 > 工作表设计 激活 设计 选项卡,然后单击 设计 > 选择解锁。 看截图:

然后一个对话框出来,告诉你选定的单元格已经解锁。 只需点击 OK 按钮关闭它。

3。 选择要锁定的单元格和范围,然后单击 设计 > 选择锁定.

然后点击 OK 按钮关闭弹出Kutools for Excel对话框。

4。 点击 设计 > 保护工作表 or 评论 > 保护工作表,然后你可以按照 我们在第一种方法中引入了与保护当前工作表相同的步骤.


箭头蓝色右泡 通过加密锁定并保护所选单元格不被查看

如果你安装了Kutools for Excel,那是另一回事 加密单元格 实用程序可以帮助您快速锁定和保护选定的单元格。 你可以这样做:

1。 选择您要锁定和保护的单元格,然后单击 企业服务 > 加密单元格.

2。 在打开“加密单元”对话框中,同时输入您的密码 密码 盒子和 确认 框中,然后单击 Ok 按钮。

然后你会看到所有选中的单元格被加密一次,如下面的屏幕截图所示:

注意:您可以点击解密这些加密的单元格 企业服务 > 解码,然后在打开的对话框中输入你的密码。

Kutools for Excel -包括多个用于Excel的300便捷工具。 全功能免费试用30天,无需信用卡! 现在加入


箭头蓝色右泡演示:锁定和保护Excel中的选定单元格

在这个视频中, Kutools Kutools Plus 选项卡添加 Kutools for Excel。 如果需要,请点击 30天免费试用,不受限制!

快速批量密码保护Excel中的多个/所有工作表

通常是Excel的 保护工作表 功能只能保护活动工作表。 但是,Excel的Kutools 保护工作表 实用程序允许通过仅2步骤批量保护具有相同密码的多个(或全部)工作表。
广告保护多张


Kutools for Excel解决了您的大多数问题,并使您的生产率提高了80%

  • 重用: 快速插入 复杂的公式,图表 以及你以前用过的任何东西; 加密单元格 密码; 创建邮件列表 并发送电子邮件...
  • 超级方程式酒吧 (轻松编辑多行文字和公式); 阅读布局 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不丢失数据; 分裂细胞含量; 组合重复的行/列...防止重复的细胞; 比较范围...
  • 选择复制或唯一 行; 选择空行 (所有细胞都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择......
  • 精确复制 多个单元格而不更改公式参考; 自动创建参考 多张表; 插入项目符号,复选框等等......
  • 提取文本,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级过滤器 (将过滤方案保存并应用到其他工作表); 高级排序 按月/周/日,频率等; 特殊过滤器 用粗体,斜体......
  • 结合工作簿和工作表; 根据键列合并表; 将数据拆分为多个表格; 批量转换xls,xlsx和PDF...
  • 超过300强大的功能。 支持Office / Excel 2007-2019和365。 支持所有语言。 在您的企业或组织中轻松部署。 全功能30天免费试用。
kte tab 201905

Office选项卡为Office提供选项卡式界面,使您的工作更轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,Publisher,Access,Visio和Project。
  • 在同一窗口的新选项卡中打开并创建多个文档,而不是在新窗口中。
  • 通过50%提高您的工作效率,每天为您减少数百次鼠标点击!
官方底部
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Mukesh · 2 months ago
    Thank u for helps.
  • To post as a guest, your comment is unpublished.
    Daniel · 1 years ago
    Please i want know lock some of the cells in my worksheet, how do i go about
    • To post as a guest, your comment is unpublished.
      kelly001 · 1 years ago
      Hi Daniel,

      Both the first and the second methods can help and guide you to lock only part of cells in a worksheet. Just follow the tutorial.
  • To post as a guest, your comment is unpublished.
    Rahil · 1 years ago
    i need to protect a particular cells , which can only view and unable to edit??
    • To post as a guest, your comment is unpublished.
      Tang Kelly · 1 years ago
      Hi,
      Both of the first method and the second method can protect some certain cells, and make these cells visible but not editable.
  • To post as a guest, your comment is unpublished.
    Rizwan Shaikh · 3 years ago
    how to protect single row or columm
  • To post as a guest, your comment is unpublished.
    Rizwan Shaikh · 3 years ago
    we cant protect a specific cell or column, so kindly suggest how to protect single column or row protect
  • To post as a guest, your comment is unpublished.
    Ivalu Edwards · 3 years ago
    Great! it helped a lot .
  • To post as a guest, your comment is unpublished.
    Azmat · 4 years ago
    Thanks Bro
    thanks i done it.....it will be helpful in my future work
  • To post as a guest, your comment is unpublished.
    Mike Massen · 4 years ago
    Hi,
    I followed method 1 to the letter along with hiding the cells too. ie I have approx 120 rows & 20 cols and selected rows 6 to 15 to lock and it works fine, they are also hidden but, now I cannot change the formatting eg make bold etc on other cells though I can change the contents. The bold option is greyed out :-( Have been through this a couple of times and it is consistent. I am using Microsoft Office Professional Plus 2010. It doesnt matter if I unhide either :-(
    The dialog box re "Protect sheet" always also selects unlocked when I only want to select locked cells, there seems no way around this, what can I do ?
  • To post as a guest, your comment is unpublished.
    anoop · 4 years ago
    thanks i done it.....it will be helpful in my future work
  • To post as a guest, your comment is unpublished.
    Ali · 4 years ago
    Great Tutorial , Thanks
  • To post as a guest, your comment is unpublished.
    ajesh · 4 years ago
    good tutorial, thanks
  • To post as a guest, your comment is unpublished.
    Gail · 4 years ago
    Is it possible to create a sign-up form in Excel and once a name is entered, that cell locks, and can only be edited by the form administrator? We have encountered some dishonest people who remove others' names and put their own in place of the removed ones.

    Just wondering. Thanks
  • To post as a guest, your comment is unpublished.
    Babu · 4 years ago
    Excellent step by step instructions. Saved my time. Thanks a lot!
  • To post as a guest, your comment is unpublished.
    Lore · 4 years ago
    What about if you want to add more locked cells to the one you already have locked? Looks like it unlock the prevues and you will have to do all the steps for the new and the prevues locked cells. Do you know how to just add the new locked cells?

    Thanks
  • To post as a guest, your comment is unpublished.
    Warren · 4 years ago
    Great help! Thank you!
  • To post as a guest, your comment is unpublished.
    ju · 4 years ago
    ALRIGHT BRADLEY KNOWLES
  • To post as a guest, your comment is unpublished.
    ju · 4 years ago
    [quote name="herlin[quote name="yogesh"]very very helpful tutorial![/quote]
    [quote name="sunilkumar"]Really thanks for your detailed explanation which help me to understand the concept.[/quote]
    [quote name="AMANDA"]Tried several times, the first time it works, and the selected cells are locked, not allowed to edit. However it began to fail from the second time, not working at all, all the cells allowed to edit again.[/quote]
    [quote name="Rosalieluck"]I got a same queries that Dinesh state. "]Please provide me details on how to lock certain cells and columns only not the whole sheet nor workbook but allow admin user and specific person to edit ranges using password provided.[/quote]
    [quote name="VijayGanesh"][i][b]its very useful to me...
    thanks for the good explanation[/b][/i][/quote]
    [quote name="Exceluser"]Thank you!!!!!!!!! This really helped unlike many other posts.[/quote]
    "]thanks super usefull....


    gracias super útil (utilísimo)......[/quote]
  • To post as a guest, your comment is unpublished.
    Elia · 4 years ago
    HI
    There is a problem with this, once you protect the cells, it will protect the whole sheet as well. Means, the worksheet is not locked, but it is protected and is not completly editabl ( Read Step 8 and see in the screen shot, you have check the box which is written: " PROTECT WORKSHEET and conntents of locked cells". ) 90% of HOME, Insert and Data menu and some other options in different menus are locked. Can we lock cells in a way that you would be able to use all other menus and their options for unlocked cells?
  • To post as a guest, your comment is unpublished.
    VijayGanesh · 4 years ago
    [i][b]its very useful to me...
    thanks for the good explanation[/b][/i]
  • To post as a guest, your comment is unpublished.
    sunilkumar · 5 years ago
    Really thanks for your detailed explanation which help me to understand the concept.
  • To post as a guest, your comment is unpublished.
    yogesh · 5 years ago
    very very helpful tutorial!
  • To post as a guest, your comment is unpublished.
    AMANDA · 5 years ago
    Tried several times, the first time it works, and the selected cells are locked, not allowed to edit. However it began to fail from the second time, not working at all, all the cells allowed to edit again.
  • To post as a guest, your comment is unpublished.
    Rosalieluck · 5 years ago
    I got a same queries that Dinesh state. "]Please provide me details on how to lock certain cells and columns only not the whole sheet nor workbook but allow admin user and specific person to edit ranges using password provided.
  • To post as a guest, your comment is unpublished.
    Roberto Vidal · 5 years ago
    Thanks for the clear explanation. Is it possible to do this over multiple cell ranges in a spreadsheet? For example, I would like to protect a certain column from all (one password) and then protect other columns from all but one user (that user would have a second password).

    Thanks again.
  • To post as a guest, your comment is unpublished.
    Andrew Mackenzie · 5 years ago
    :-) An excellent, clear explanation. Recommended
  • To post as a guest, your comment is unpublished.
    sheetal · 5 years ago
    I want to lock indivisual column and row.

    pls rpl me as soon as early wahat to do???
  • To post as a guest, your comment is unpublished.
    Exceluser · 5 years ago
    Thank you!!!!!!!!! This really helped unlike many other posts.
  • To post as a guest, your comment is unpublished.
    # OmondiBj · 5 years ago
    thanks, thz great.It helped me a lot. Now I am able to work on excel sheet in the safe mode
  • To post as a guest, your comment is unpublished.
    Rajendran · 5 years ago
    Thanks. It helped me a lot. Now I am able to work on excel sheet in the safe mode.
  • To post as a guest, your comment is unpublished.
    PUSHPENDRA · 5 years ago
    TAHNKS BUDDY its really helped me a lot in my job
  • To post as a guest, your comment is unpublished.
    Shelford S. Somwarbi · 5 years ago
    Thank you so much for the nice assistance
  • To post as a guest, your comment is unpublished.
    Bryce · 5 years ago
    Thanks for the information. May need to clarify #6 as I found it better if I unchecked one additional box.

    Cheers
  • To post as a guest, your comment is unpublished.
    abandohe · 5 years ago
    Thanks so much, an eye opener
  • To post as a guest, your comment is unpublished.
    Senthil · 5 years ago
    Good Support. thanks.
  • To post as a guest, your comment is unpublished.
    imran · 5 years ago
    thnx...Mast Helpful....
  • To post as a guest, your comment is unpublished.
    zaur tskhvaradze · 5 years ago
    Thank you. Great tutorial
  • To post as a guest, your comment is unpublished.
    Sol · 5 years ago
    thank you very much.. easy to follow
  • To post as a guest, your comment is unpublished.
    Bubba Louie · 5 years ago
    After looking at several tutorials on this subject, all of which were very confusing, I found this one. I followed the tutorial step by step and it works great. Thank you for making it so easy for this old timer that is high tech deficient. Bubba
  • To post as a guest, your comment is unpublished.
    Marto · 5 years ago
    once i have locked cells to my likeing, the cells i can acess and edit, i dont seem to be able to change colour, font , size etc, even though they are not in the selcted lock range, the tool bar on my home tab is all greyed out, any ideas???
  • To post as a guest, your comment is unpublished.
    Parameshwar · 5 years ago
    It is a nice and crispy description. I like it. Thank you very much
  • To post as a guest, your comment is unpublished.
    Ankur · 5 years ago
    After going through this process of locking specific cells and protecting the sheet with a password, height and length of the rows and columns respectively of the sheet can't be changed. Any way out? Need help urgently.
  • To post as a guest, your comment is unpublished.
    Ompong · 5 years ago
    Thousand thanks for this easy to follow guide in locking the specific cells in Microsoft Excel.
  • To post as a guest, your comment is unpublished.
    Armaghan Oonwala · 5 years ago
    thanxxxxx alottt.....
    now im doing work easily
    too easy and great tutorial
    God bless u.....
  • To post as a guest, your comment is unpublished.
    Sethu · 5 years ago
    It really works..I was searching for the same for so many days.
    Thank u
  • To post as a guest, your comment is unpublished.
    Jawaid · 5 years ago
    It's great help in very easy steps without confusing the user. :-)
  • To post as a guest, your comment is unpublished.
    Amar Nath · 5 years ago
    I understand how to protect a worksheet, and I know how to "unlock" certain cells in a worksheet, so that users of the worksheet can enter information into these unlocked cells. I have a worksheet where all I want the users to be able to do in certain cells is to be able to 'put in or insert' numbers. I don't want the users of this worksheet to be able to change the font, font color, font size, borders, etc. In other words, I want to create a worksheet where only numbers can be entered into certain cells, but no changes whatsoever can be made to the cell formatting of these cells. Thanks for your assistance.
  • To post as a guest, your comment is unpublished.
    Rebecca · 5 years ago
    Thanks it worked!
    Now I'm wondering if there's a way so that when I copy this table into Word those selected cells remain locked?
  • To post as a guest, your comment is unpublished.
    Jahangir · 5 years ago
    Very nice .... Awesome ... Thanks a lot ... :P
  • To post as a guest, your comment is unpublished.
    Matt Eastwood · 5 years ago
    I understand how to protect a worksheet, and I know how to "unlock" certain cells in a worksheet, so that users of the worksheet can enter information into these unlocked cells. I have a worksheet where all I want the users to be able to do in certain cells is to be able to 'put in or insert' numbers. I don't want the users of this worksheet to be able to change the font, font color, font size, borders, etc. In other words, I want to create a worksheet where only numbers can be entered into certain cells, but no changes whatsoever can be made to the cell formatting of these cells. Thanks for your assistance.
    • To post as a guest, your comment is unpublished.
      Love · 4 years ago
      You need to unprotect it before you can format the cells
  • To post as a guest, your comment is unpublished.
    Ashish Sharma · 5 years ago
    Nice, very helpful and my query resolved