为您找到与excel2007怎么取消加密相关的共200个结果:
在Excel中有很多重要的数据前期需要加上密码保护,但到后期却已经不再重要需要取消加密保护,下面是读文网小编带来的关于excel 2007取消加密保护的教程的内容,欢迎阅读!
1、打开Excel表格中的Excel选项,选择自定义,得到如下画面:
excel2007撤销保护密码的方法图1
2、然后在左边侧框栏中选择“查看宏”
之后双击或者选择添加按钮,则可以看到右边栏中有了查看宏按钮,之后点击右下角的确定。
3、大家可以在下面这个窗口处看到箭头所指的按钮:
点击按钮,之后弹出窗口:
excel2007撤销保护密码的方法图2
excel2007撤销保护密码的方法图3
4、在宏名处填写一个名字(可随意),然后点击创建,弹出以下窗口:
excel2007撤销保护密码的方法图4
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
'
'?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?'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
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
-----------------------------------------------------------------------------------------
复制到横线以上
得到情况如下图表示
excel2007撤销保护密码的方法图5
6、关闭编辑窗口;
7、依次点击菜单栏上的工具---宏-----宏,选AllInternalPasswords,运行,确定两次;
等一会,就会出现以下对话框:这就是Excel密码对应的原始密码(此密码和原先设置的密码都能打开此文档。如果是别人的文档,你又想恢复密码设置,就可以用此密码进行保护,他就能用他设置的密码打开,你可以试试,很有趣的。字母一定要大写):
再点击确定。Excel的原始密码就被清除了!!
excel2007撤销保护密码的方法图6
8、最后记得关闭EXCEL文档时要保存,否则下回打开,文档仍旧处于只读状态而无法修改。
浏览量:2
下载量:0
时间:
在Excel中录入好重要资料的时候都需要进行密码保护处理,而过了一段时间后却觉得不再需要用到密码进行保护了,这个时候就需要用到取消加密的功能了,具体该如何取消加密的功能呢?下面是由读文网小编分享的excel2007 取消加密的有效方法,以供大家阅读和学习。
取消加密步骤1:打开Excel表格中的Excel选项,选择自定义,得到如下画面:
取消加密步骤2:然后在左边侧框栏中选择“查看宏”
之后双击或者选择添加按钮,则可以看到右边栏中有了查看宏按钮,之后点击右下角的确定。
取消加密步骤3:大家可以在下面这个窗口处看到箭头所指的按钮:
点击按钮,之后弹出窗口:
取消加密步骤4:在宏名处填写一个名字(可随意),然后点击创建,弹出以下窗口:
取消加密步骤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
'
' 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 " & _
#p#副标题#e#
"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 '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
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
-----------------------------------------------------------------------------------------
取消加密步骤6:复制到横线以上
取消加密步骤7:得到情况如下图表示
取消加密步骤8:关闭编辑窗口;
取消加密步骤9:依次点击菜单栏上的工具---宏-----宏,选AllInternalPasswords,运行,确定两次;
取消加密步骤10:等一会,就会出现以下对话框:这就是Excel密码对应的原始密码(此密码和原先设置的密码都能打开此文档。如果是别人的文档,你又想恢复密码设置,就可以用此密码进行保护,他就能用他设置的密码打开,你可以试试,很有趣的。字母一定要大写):
取消加密步骤11:再点击确定。Excel的原始密码就被清除了!!
取消加密步骤12:最后记得关闭EXCEL文档时要保存,否则下回打开,文档仍旧处于只读状态而无法修改。
浏览量:2
下载量:0
时间:
Excel中的加密功能具体该如何对文件的一个加密操作呢?接下来是读文网小编为大家带来的excel2007加密功能操作教程,供大家参考。
加密功能操作步骤1:单击Excel2007左上角的“Office按钮”,然后选择“准备”中的“加密文档”;
加密功能操作步骤2:在弹出的“加密文档”中输入你想要的密码
加密功能操作步骤3:同意会弹出一个“确认密码”的对话框,我们在此重新输入密码,最后确定就设置完成。
浏览量:2
下载量:0
时间:
Excel中经常需要把保护功能给取消掉,取消保护具体该如何操作呢?接下来是读文网小编为大家带来的excel2007取消保护的教程,供大家参考。
取消保护步骤1:单元格保护 默认地,所有单元格都有锁定属性,一旦将Excel2007工作表保护起来,则不能在这些单元格里输入任何数据,为此,我们得取消部分单元格的锁定属性。 首先,右键单击工作表的行、列交界处,这一操作将产生两个结果:选中所有单元格和弹出快捷菜单;然后单击“设置单元格格式”,如图13所示。
图13 准备设置单元格格式
接着,在弹出的对话框中单击“保护”以切换到该标签页,如图14所示。 图14 自定义设置 然后,勾选“锁定”和“隐藏”后单击“确定”,退出设置状态并返回Excel编辑界面。
取消保护步骤2:取消部分单元格的保护状态 选中对象单元格区域,右键单击,选择“设置单元格格式”,如图15所示;
图15 设置准备
然后按照前面的操作,清除“锁定”和“隐藏”前的钩,如图16所示。
图16 清除单元格的保护状态
取消保护步骤3:保护工作表 首先,单击“审阅”切换到该工具面板;接着,单击“保护工作表”;然后两次输入密码(两次的密码必须相同);最后单击“确定”即可,如图17所示。
图17 输入密码
取消保护步骤4:检验保护效果 在这些单元格里输入数据,会得到图18所示的拒绝对话框。这样,我们就只能在没有保护的单元格中输入数据,这样既不影响成绩统计表的正常使用,又有效地保护了工作表不被误操作破坏。 图18 部分单元格保护起来了
取消保护步骤5:取消工作表保护 如果Excel2007工作表已保护起来,“保护工作表”按钮将自动变化为“取消工作表保护”,我们可以单击该按钮,再输入前面的密码即可取消保护工作表,如图19所示。
浏览量:2
下载量:0
时间:
Excel中的超链接如果不需要了需要取消具体该如何操作呢?接下来是读文网小编为大家带来的excel2007取消超链接的教程,供大家参考。
取消超链接步骤1:首先打开execl ,点击左上角的OFFICE标,在点下面的 "EXECL选项"
取消超链接步骤2:点了“EXECL选项”后出现对话框,在点 左边的 “校对”,在点“自动更正选项”
取消超链接步骤3:会出来“自动更正”对话框,点“键入时自动套用格式” 把“internet及网络路径替换为超链接”前的勾 取消就可以了。最后别忘了确认。
浏览量:2
下载量:0
时间:
Excel中经常需要取消多工作表的打印区域设置,多个工作表的打印区域设置具体该如何进行取消呢?接下来是读文网小编为大家带来的excel2007取消多工作表打印区域设置的方法,供大家参考。
取消多工作表打印区域步骤1:在excel表中,可以设置用户需要打印的区域,例如:打印一个单元格,或者是打印多单元格的区域时,需要设置打印区域。
取消多工作表打印区域步骤2:如果一个工作薄中多个工作薄设置了打印区域,需要批量取消打印区域设置,这样在以上的设置方法中不能实现,但是excel 2007中有一个方法可以实现:单击“公式”—>“名称管理器”—>打开“名称管理器”对话框,鼠标拖动框选所有的打印区域,单击“删除”,关闭“名称管理器”对话框就可以批量取消打印区域如图2所示。
浏览量:6
下载量:0
时间:
Excel中经常需要把已经冻结的表格进行恢复取消冻结,取消冻结具体该如何操作呢?接下来是读文网小编为大家带来的excel2007取消冻结的教程,供大家参考。
冻结步骤1:打开要设置的excel文档,选择工具栏上的“视图”选项
冻结步骤2:在打开的菜单栏中,选择“冻结窗格”下的下拉按钮
冻结步骤3:在弹出的下拉列表框中,当其中选择“冻结首行”后,则在拖动垂直滚动条的时候,首行不动,其余行随着滚动;选择“冻结首列”后,则在拖动水平滚动条的时候,首列不动,其余列随着滚动。此处选择“冻结首行”
冻结步骤4:可以看到表格的首行和第二行之间多了一条黑线
浏览量:2
下载量:0
时间:
Excel中的共享状态具体该如何操作设置才能取消共享呢?接下来是读文网小编为大家带来的excel2007取消共享状态的方法,供大家参考。
取消共享状态步骤1:打开设置了共享工作薄保护的电子表格。
取消共享状态步骤2:在“工具”菜单上,执行“保护”命令,然后单击“撤消对共享工作簿的保护”。
取消共享状态步骤3:在密码栏中输入取消共享保护的密码。
取消共享状态步骤4:单击确定 ,如果提示撤消保护对其他用户的影响,请单击“是”。
注:取消共享状态的操作在历代版本均为大同小异,直接参考便可。
浏览量:2
下载量:0
时间:
Excel中经常需要把已经加密的文档进行取消加密的操作,取消加密功能具体该如何实现呢?下面是读文网小编带来的关于excel2007取消加密功能的教程,希望阅读过后对你有所启发!
步骤1:2007版Excel表格中可以按照以下方式建宏:
步骤2:打开Excel表格中的Excel选项,选择自定义,得到如下画面:
步骤3:然后在左边侧框栏中选择“查看宏”
之后双击或者选择添加按钮,则可以看到右边栏中有了查看宏按钮,之后点击右下角的确定。
步骤4:大家可以在下面这个窗口处看到箭头所指的按钮:
点击按钮,之后弹出窗口:
步骤5:在宏名处填写一个名字(可随意),然后点击创建,弹出以下窗口:
步骤6:将窗口内的内容全选后删除,然后将下面分割线以内的内容开始复制粘贴在上面的窗口内:
从横线下开始复制
------------------------------------------------------------------------------------------
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
'
' 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 '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
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
-----------------------------------------------------------------------------------------
复制到横线以上
得到情况如下图表示
步骤7:关闭编辑窗口;
步骤8:依次点击菜单栏上的工具---宏-----宏,选AllInternalPasswords,运行,确定两次;
步骤9:等一会,就会出现以下对话框:这就是Excel密码对应的原始密码(此密码和原先设置的密码都能打开此文档。如果是别人的文档,你又想恢复密码设置,就可以用此密码进行保护,他就能用他设置的密码打开,你可以试试,很有趣的。字母一定要大写):
步骤10:再点击确定。Excel的原始密码就被清除了!!
步骤11:最后记得关闭EXCEL文档时要保存,否则下回打开,文档仍旧处于只读状态而无法修改。
看了excel2007取消加密功能的教程还看了:
浏览量:2
下载量:0
时间:
Excel中的隐藏数据具体该如何设置取消隐藏让它进行显示呢?下面是读文网小编带来的关于excel2007取消隐藏的方法,希望阅读过后对你有所启发!
取消隐藏步骤1:首先查看工作表是否被保护
取消隐藏步骤2:点击保护工作表,若已经设置保护,请输入保护密码。下图为没有设置保护工作表:
取消隐藏步骤3:在excel2007中操作流程为 :视图→窗口
取消隐藏步骤4:点击取消隐藏
取消隐藏步骤5:选择需要显示的工作表,点击确定。
取消隐藏步骤6:在工作表名称位置点击鼠标右键→点击“取消隐藏”→选择需要显示的工作表。
取消隐藏步骤7:选中工作表名称,右键点击
取消隐藏步骤8:点击取消隐藏或点击取消工作表隐藏
取消隐藏步骤9:选择需要显示的工作表,点击确定。
取消隐藏步骤10:工作表内的表格部分被隐藏
取消隐藏步骤11:看下图中的表格,未被隐藏前:
取消隐藏步骤12:隐藏后:6、7列数据被隐藏
取消隐藏步骤13:右键点击A、B.....列
取消隐藏步骤14:点击取消隐藏,隐藏表格出现:
浏览量:5
下载量:0
时间:
Excel中的隐藏列具体该如何设置为取消隐藏让列显示呢?接下来是读文网小编为大家带来的excel2007取消隐藏列的设置教程,供大家参考。
步骤:点击右上角的格式,再把鼠标放到隐藏和取消隐藏上,点击取消隐藏列,即可取消隐藏。
浏览量:5
下载量:0
时间:
Excel中经常需要把已经设置为只读模式的文档改成取消只读模式,只读模式具体该如何取消呢?下面是读文网小编带来的关于excel2007取消只读模式的方法,希望阅读过后对你有所启发!
步骤1:找到对应的工作表,右击-属性
步骤2:只读属性-勾取消
浏览量:2
下载量:0
时间:
Excel中经常需要使用到为表格取消加密的技巧,加了密码的表格具体该如何进行解密呢?下面是由读文网小编分享的excel表格取消加密的教程,以供大家阅读和学习。
取消加密步骤1:在excel里点击文件,另存为命令。
取消加密步骤2:为文件指定保存地址。
取消加密步骤3:指定好保存地址和文件名后,点击工具常规选项。
取消加密步骤4:将打开权限密码或者修改权限密码删除,确定,然后保存即可。
浏览量:3
下载量:0
时间:
Excel中经常需要使用到加密功能对重要的文档进行加密,文档加密具体该如何操作呢?接下来是读文网小编为大家带来的excel2007文档加密教程,供大家参考。
文档加密步骤1:打开你需要加密的excel文档,点击“文件”,选择“另存为”,如下图一
图一
文档加密步骤2:选择另存为“excel工作簿”;
文档加密步骤3:在“另存为”界面选择“工具(L)”,在工具菜单选择“常规选项(G)”,如下图二
图二
文档加密步骤4:“常规选项(G)”中输入密码,如下图三。其中打开权限密码和修改权限密码分别设置就可以了。
图三
文档加密步骤5:保存文件。
文档加密步骤6:打开刚刚保存的文件,出现,输入密码对话框,在对话框里输入对应密码就可以了。见下图四。
图四
浏览量:3
下载量:0
时间:
Excel中经常需要用到密码保护功能进行保护文档,文档加密码保护具体该如何操作呢?下面是由读文网小编分享的excel2007文档加密码保护的教程,以供大家阅读和学习。
文档加密码保护步骤1:打开文件,点击左上方的“office按钮”-“准备”-“加密文档”
文档加密码保护步骤2:在弹出的密码框中输入密码,点击确定,再次输入密码即可。
文档加密码保护步骤3:设置完成后,保存文件,然后再次打开的时候就会有输入密码的提示。
浏览量:3
下载量:0
时间:
Excel中已经加了密码的文档具体该如何操作才能把加了密码的文档给取消加密呢?下面是读文网小编带来的关于excel取消加密的方法,希望阅读过后对你有所启发!
步骤1:先录入密码,确定打开要取消密码的excel文件。
步骤2:在文件菜单下点击另存为,取消密码的办法其实就是再把文件保存一次,在保存替换原文件或重命名时将密码取消掉。
步骤3:点击工具选择常规选项
步骤4:删除密码,点击确定并保存。
步骤5:提示文件已存在要替换它吗?如果想要覆盖原文件直接点击是就替换掉了。
步骤6:如果想保留原文件重新存一份,点击否再修改文件名保存为一份新的文件。
浏览量:3
下载量:0
时间:
Excel中经常需要使用到取消隐藏工作表的技巧把隐藏的工作表设置为显示,工作表具体该如何进行取消隐藏呢?下面是由读文网小编分享的excel2007取消隐藏工作表的方法,以供大家阅读和学习。
取消隐藏工作表步骤1:首先查看工作表是否被保护
取消隐藏工作表步骤2:点击保护工作表,若已经设置保护,请输入保护密码。下图为没有设置保护工作表:
取消隐藏工作表步骤3:在excel2007中操作流程为 :视图→窗口
取消隐藏工作表步骤4:点击取消隐藏
取消隐藏工作表步骤5:选择需要显示的工作表,点击确定。
取消隐藏工作表步骤6:在工作表名称位置点击鼠标右键→点击“取消隐藏”→选择需要显示的工作表。
取消隐藏工作表步骤7:选中工作表名称,右键点击
取消隐藏工作表步骤8:点击取消隐藏或点击取消工作表隐藏
取消隐藏工作表步骤9:选择需要显示的工作表,点击确定。
取消隐藏工作表步骤10:工作表内的表格部分被隐藏
取消隐藏工作表步骤11:看下图中的表格,未被隐藏前:
取消隐藏工作表步骤12:隐藏后:6、7列数据被隐藏
取消隐藏工作表步骤13:右键点击A、B.....列
取消隐藏工作表步骤14:点击取消隐藏,隐藏表格出现:
浏览量:2
下载量:0
时间:
在我生活中经常有需要给excel软件加密的情况,涉及一些比较私人的文档或者机密的文档,一般人不会去选择用专用的加密工具,因为工具贵,接下来是读文网小编为大家带来的excel2007数据加密的方法,供大家参考。
数据加密步骤1:很多时候为了文件的安全,我们要对文件进行加密。很多人都不清楚,在excel本身就有加密功能
在excel2007的页面点击【offic 按钮】
数据加密步骤2:在点击过【offic 按钮】后得到
数据加密步骤3:选着【准备(E)】点击【加密文档(E)】
数据加密步骤4:出现【加密文档】,输入密码然后点击【确定】
数据加密步骤5:再次确认密码,然后【确定】,加密成功
数据加密步骤6:再次打开该文档是就会出现
数据加密步骤7:输入设置的密码即可打开文档
浏览量:3
下载量:0
时间: