2024年3月28日发(作者:)

资料来源:来自本人网络整理!祝您工作顺利!

2021年Excel中2021版进行工作表保护密码撤销的设置技巧

在做excel表格时我们有时候会给自己的工作表加密,一旦遗忘密码就会很费事,如

何绕过密码,挺直撤销爱护。今日,我就教大家在Excel中2021版进展工作表爱护密码

撤销的设置技巧。

Excel中2021版进展工作表爱护密码撤销的设置步骤:

翻开excel,点击菜单栏的"视图',点击二级菜单里的"宏',选择录制宏。

在弹出来的方框中输入宏的名称,点击确认。

重复第一步的步骤,不过这次点击"停顿录制'。

选择查看宏。

编辑宏。

在弹出来的代码框输入下面的代码。Option Explicit

Public Sub AllInternalPasswords()

Breaks worksheet and workbook structure passwords. Bob McCormick

probably originator of base code algorithm modified for coverage

2021年6月 Word版本

1

资料来源:来自本人网络整理!祝您工作顺利!

of workbook structure / windows passwords and for multiple passwords

Norman Harker and JE McGimpsey 27-Dec-2021 (Version 1.1)

Modified 2021-Apr-04 by JEM: All msgs to constants, and

eliminate one Exit Sub (Version 1.1.1)

Reveals hashed passwords NOT original passwords

Const DBLSPACE As String = vbNewLine vbNewLine

Const AUTHORS As String = DBLSPACE vbNewLine _

Adapted from Bob McCormick base code by _

Norman Harker and JE McGimpsey

Const HEADER As String = AllInternalPasswords User Message

Const VERSION As String = DBLSPACE Version 1.1.1 2021-Apr-04

Const REPBACK As String = DBLSPACE Please report failure _

2021年6月 Word版本

2