EXCEL表格里的内容被写保护,怎么删除密码
发布网友
发布时间:2022-04-23 06:53
我来回答
共5个回答
热心网友
时间:2022-05-05 05:58
1、首先,我们打开一个含有密码的excel文档,然后我们点击文件;
2、弹出的界面,我们点击信息,然后我们点击保护工作簿;
3、弹出的界面,我们点击用密码进行加密;
4、弹出的界面,我们将密码进行删除,删除后我们点击确定,这样我们就取消了文档的密码了。
热心网友
时间:2022-05-05 07:16
EXCEL工作表保护密码破解
方法:
1\打开文件
2\工具---宏----录制新宏---输入名字如:aa
3\停止录制(这样得到一个空宏)
4\工具---宏----宏,选aa,点编辑按钮
5\删除窗口中的所有字符(只有几个),替换为下面的内容:(复制吧)
6\关闭编辑窗口
7\工具---宏-----宏,选AllInternalPasswords,运行,确定两次,等2分钟,再确定.OK,没有密码了!!
内容如下:
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
'
' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)
' Modified 2003-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 2003-Apr-04"
Const REPBACK As String = DBLSPACE & "Please report failure " & _
"to the microsoft.public.excel.programming newsgroup."
Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _
"now be free of all password protection, so make sure you:" & _
DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _
DBLSPACE & "BACKUP!, BACKUP!!, BACKUP!!!" & _
DBLSPACE & "Also, remember that the password was " & _
"put there for a reason. Don't stuff up crucial formulas " & _
"or data." & DBLSPACE & "Access and use of some data " & _
"may be an offense. If in doubt, don't."
Const MSGNOPWORDS1 As String = "There were no passwords on " & _
"sheets, or workbook structure or windows." & AUTHORS & VERSION
Const MSGNOPWORDS2 As String = "There was no protection to " & _
"workbook structure or windows." & DBLSPACE & _
"Proceeding to unprotect sheets." & AUTHORS & VERSION
Const MSGTAKETIME As String = "After pressing OK button this " & _
"will take some time." & DBLSPACE & "Amount of time " & _
"depends on how many different passwords, the " & _
"passwords, and your computer's specification." & DBLSPACE & _
"Just be patient! Make me a coffee!" & AUTHORS & VERSION
Const MSGPWORDFOUND1 As String = "You had a Worksheet " & _
"Structure or Windows Password set." & DBLSPACE & _
"The password found was: " & DBLSPACE & "$$" & DBLSPACE & _
"Note it down for potential future use in other workbooks by " & _
"the same person who set this password." & DBLSPACE & _
"Now to check and clear other passwords." & AUTHORS & VERSION
Const MSGPWORDFOUND2 As String = "You had a Worksheet " & _
"password set." & DBLSPACE & "The password found was: " & _
DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _
"future use in other workbooks by same person who " & _
"set this password." & DBLSPACE & "Now to check and clear " & _
"other passwords." & AUTHORS & VERSION
Const MSGONLYONE As String = "Only structure / windows " & _
"protected with the password that was just found." & _
ALLCLEAR & AUTHORS & VERSION & REPBACK
Dim w1 As Worksheet, w2 As Worksheet
Dim i As Integer, j As Integer, k As Integer, l As Integer
Dim m As Integer, n As Integer, i1 As Integer, i2 As Integer
Dim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer
Dim PWord1 As String
Dim ShTag As Boolean, WinTag As Boolean
Application.ScreenUpdating = False
With ActiveWorkbook
WinTag = .ProtectStructure Or .ProtectWindows
End With
ShTag = False
For Each w1 In Worksheets
ShTag = ShTag Or w1.ProtectContents
Next w1
If Not ShTag And Not WinTag Then
MsgBox MSGNOPWORDS1, vbInformation, HEADER
Exit Sub
End If
MsgBox MSGTAKETIME, vbInformation, HEADER
If Not WinTag Then
MsgBox MSGNOPWORDS2, vbInformation, HEADER
Else
On Error Resume Next
Do 'mmy do loop
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
With ActiveWorkbook
.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If .ProtectStructure = False And _
.ProtectWindows = False Then
PWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _
Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
MsgBox Application.Substitute(MSGPWORDFOUND1, _
"$$", PWord1), vbInformation, HEADER
Exit Do 'Bypass all for...nexts
End If
End With
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
Loop Until True
On Error GoTo 0
End If
If WinTag And Not ShTag Then
MsgBox MSGONLYONE, vbInformation, HEADER
Exit Sub
End If
On Error Resume Next
For Each w1 In Worksheets
'Attempt clearance with PWord1
w1.Unprotect PWord1
Next w1
On Error GoTo 0
ShTag = False
For Each w1 In Worksheets
'Checks for all clear ShTag triggered to 1 if not.
ShTag = ShTag Or w1.ProtectContents
Next w1
If ShTag Then
For Each w1 In Worksheets
With w1
If .ProtectContents Then
On Error Resume Next
Do 'Dummy do loop
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If Not .ProtectContents Then
PWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _
Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
MsgBox Application.Substitute(MSGPWORDFOUND2, _
"$$", PWord1), vbInformation, HEADER
'leverage finding Pword by trying on other sheets
For Each w2 In Worksheets
w2.Unprotect PWord1
Next w2
Exit Do 'Bypass all for...nexts
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
Loop Until True
On Error GoTo 0
End If
End With
Next w1
End If
MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER
End Sub
热心网友
时间:2022-05-05 08:50
不知道密码,正常的方法都行不通的。你用秒破还原器,淘__宝里有,去搜一下,像你这种情况,1秒就能破开来正常用了
热心网友
时间:2022-05-05 10:42
你没人家的密码当然不行,下载一个解密软件吧
Advanced Office Password Recovery不错,6位数内的很快,不过如果密码长度超过6位,难度就大了,长度越大速度越慢。如果是那样倒不如另外重新制表。
热心网友
时间:2022-05-05 12:50
你下载一个加密,解密软件
EXCEL表格里的内容被写保护,怎么删除密码
1、首先,我们打开一个含有密码的excel文档,然后我们点击文件;2、弹出的界面,我们点击信息,然后我们点击保护工作簿;3、弹出的界面,我们点击用密码进行加密;4、弹出的界面,我们将密码进行删除,删除后我们点击确定,这样我们就取消了文档的密码了。
excel表格被别人写保护,如何撤销保护,可以随便复制表格
如果只是文件改为只读,右键菜单-属性,去掉只读即可;若是在Excel中设置了工作表保护,那就要撤销工作表保护(可能需要密码)才行。保护命令在工具菜单下。
excle 数据已被保护,不能编辑。怎么解决
1、对于我们打开的excel报表,显示如图所示的红色,表示受保护状态,这种状态下的excel是无法编辑的。2、然后我们点击界面上方的菜单栏里的文件选项,然后在弹出来的界面内选择“另存为”选项。3、在选定另存为后,会出来一个是否启用保存的对话框,我们点击确定就可以了。4、然后我们打开另存为的文件,...
Excel 2007被写保护了怎么修改
打开工作表--->菜单栏-->工具--->保护--->撤销工作表保护--->输入密码撤销保护--->回车 如想改密码,重新设保护就行了 修改或删除打开密码保护 a、打开工作表--->菜单栏-->工具--->选项--->安全性--->修改权限密码( 修改或删除)密码 --->回车--->回车 b、打开工作表--->菜单栏...
EXCE表格被写保护了,一般初始密码是多少呢?
关注 展开全部 写保护密码是表格制作者自行设定的,所以没有初始密码。 本回答被提问者和网友采纳 已赞过 已踩过< 你对这个回答的评价是? 评论 收起 2条折叠回答 其他类似问题2013-07-16 EXCEL表格被写入保护密码如何解开? 8 2021-07-19 EXCEL表格里的内容被写保护,怎么删除密码 99 2014-03-26 Excel被...
打开excel被写保护的表别的表也无法插入删除行怎么办
一,重新打开一个新的表格 二,卸载现有的WPS,重新下载一个 三,试试鼠标右键点击对应的工作表,点击“撤销工作表保护”输入密码撤销保护就可以了 应该有一种方法可行,如果还是不行的话我就没办法了
在EXCEL中,某单元格经确认以后指定单元格被保护怎么编辑VB函数。_百度...
1、Excel文件的加密与隐藏 如果你不愿意自己的Excel文件被别人查看,那么你可以给它设置密码保护,采用在保存文件时用加密的方法就可以实现保护目的,在这里要特别注意的是,自己设定的密码一定要记住,否则自己也将被视为非法入侵者而遭拒绝进入。给文件加密的具体方法为:A、单击“文件”菜单栏中的“保存...
如何把文件的写保护解除掉??
方法一:复制粘贴法启动EXCEL,打开加密保护的EXCEL工作薄文档,选中相应的数据区域,执行一下“复制”操作,然后新建一个工作表,选中某单元格,执行一下“粘贴”操作,则工作表保护被撤销。方法二:如果加密者在保护工作表时设置了让使用者不能选中工作表中的单元格,则上述方法不能实现解除保护。可以...
excel表中日期被写保护了,所有数据、日期的单元格总是显示短日期格式...
右键-单元格格式-可以设置为长日期。如果工作表保护了,可以发给我帮你破解。
怎么能使Excel表格的前几行,别人修改不了,不是保护整个表,只是保护表...
1、按Ctrl+A,选择工作表所有单元格,依次点击“格式——单元格——保护”,去掉“锁定”前面的勾。按确定。2、选中第1-3行需要保护的单元格,依次点击“格式——单元格——保护”,在“锁定”前面打上”勾“,按确定。3、点击”工具——保护——保护工作表“,输入密码(两次),按确定。这样,...