跳到主要内容

如何仅在Excel中保护工作表的格式?

我们大多数人可能知道如何保护工作表的内容不被更改,但是在这里,我希望其他人能够更改单元格的值或键入数字或文本,但又不能弄乱我已应用的单元格格式,例如字体,背景颜色等。 您如何在不考虑内容的情况下保护工作表的格式?


使用Excel功能保护工作表的格式

假设我已按照以下屏幕快照所示将格式应用于范围单元格,现在我将逐步讨论如何仅保护工作表的格式:

1. 选择您希望其他人能够编辑的范围单元格,然后右键单击并选择 单元格格式 从上下文菜单中,查看屏幕截图:

2。 在 单元格格式 对话框,单击 的故事 标签,然后取消选中 锁定 选项。 看截图:

3。 点击 OK 关闭对话框。

4。 如果需要允许其他人编辑此工作表中的多个范围,请根据需要重复上述步骤1-4。

5。 继续点击 评论 > 保护工作表 保护工作表,请参见屏幕截图:

6。 然后在弹出的对话框中,确保 设置单元格格式 未选中(默认情况下未选中),并且您无需在对话框中更改任何信息,请参见屏幕截图:
doc保护格式4

7。 然后点击 OK,并且可以根据需要编辑所有选定的单元格内容,但是不能修改单元格格式。

备注:如果要设置密码来保护工作表,可以根据需要输入密码,但是如果不需要,只需单击 OK 按钮在 保护工作表 对话框。


仅使用 Kutools for Excel 保护工作表的格式

如果您安装了 Kutools for Excel,您可以简化步骤以仅保护当前工作表的格式。请按以下步骤操作:

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

1.选择多个范围,您将允许其他范围进行编辑,然后单击 Kutools 加 > 工作表设计 激活 设计 选项卡,然后单击 解锁单元 上的按钮 设计 标签。 看截图:
备注:持有 按Ctrl 键,可以一一选择多个不相邻的范围。
doc保护格式1

doc工作表设计解锁单元格

然后会弹出一个对话框,提醒您选择范围的信息已解锁。 只是关闭它。

2。 点击 设计 > 保护工作表 要么 (评论 > 保护工作表)以保护当前的工作表。

3.在打开的“保护工作表”对话框中,输入密码,并切记不要选中 单元格格式 选项,然后单击 OK 按钮。 接下来,在“确认密码”对话框中重新输入密码,然后单击 OK 按钮。
doc保护格式4

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


演示:仅在Excel中保护工作表的格式


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

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

通常Excel的保护工作表功能只能保护活动工作表。然而,Kutools for Excel 的 保护工作表 该实用程序仅用2个步骤即可批量保护使用相同密码的多个(或全部)工作表。


保护多张纸

Kutools for Excel - 使用 300 多种基本工具增强 Excel 功能。 享受全功能 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 (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Sorry, this is not fool proof. If you do the above (through Excel Feature) the formatting is not protected from the cut and paste feature. ex. if you have a row which has a light gray back ground and you cut it and paste it into a white row, the gray background is transferred to the new cells in place of the white.
This comment was minimized by the moderator on the site
This also doesn't work if a user enters a currency symbol in the cell. Excel will automatically change the cell's formatting to currency without asking you and no way to prevent it. Even data validation ignores input of currency symbols when instructed to allow numbers only.
This comment was minimized by the moderator on the site
I followed your instructions for protecting the formatting of a worksheet in excel, but it won't let me refresh the pivot table if the worksheet is protected. I have to un-protect it to refresh and then all my formatting is changed. How do I keep the formatting and be able to refresh the worksheet?
This comment was minimized by the moderator on the site
It does not work when you copy into the cell. Formatting is replaced.
This comment was minimized by the moderator on the site
This is my problem - I want to make a tool that people can paste data into without messing up the formatting. Editable cells are light yellow and have conditional formatting and whatnot. Maybe a macro event can force a paste values or something... it's either that or a macro that replaces the correct formatting after any value change.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations