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

2003版excel表格密码怎么去除

我们在工作中使用excel2003的时候,很久以前设置了密码的文档忘记了该如何打开。

下面让店铺为你带来2003版excel表格密码怎么去除的方法。

2003版excel表格密码去除步骤如下:

1、打开您需要解除保护密码的Excel文件;

2、依次点击菜单栏上的工具---宏----录制新宏,输入宏名字如:aa;

3、停止录制(这样得到一个空宏);

4、依次点击菜单栏上的工具---宏----宏,选aa,点编辑按钮;

5、删除窗口中的所有字符(只有几个),替换为下面的内容;

Option Explicit

Public Sub AllInternalPasswords()

' Breaks worksheet and workbook structure passwords. Bob McCormick

' probably originator of base code algorithm modified for coverage

' of workbook structure / windows passwords and for multiple passwords

'

' China XingYun 27-Feb-2006 (Version 1.0.0)

' Modified 2006-Feb-28 by JEM: All msgs to constants, and

' eliminate one Exit Sub (Version 1.0.0)

' Reveals hashed passwords NOT original passwords

Const DBLSPACE As String = vbNewLine & vbNewLine

Const AUTHORS As String = DBLSPACE & vbNewLine & _

"Base code by" & _

"China XingYun"

Const HEADER As String = "AllInternalPasswords User Message"

Const VERSION As String = DBLSPACE & "Version 1.0.0 2006-Feb-28"

Const REPBACK As String = DBLSPACE & "Please report failure " & _

"to the mming newsgroup."