9久久伊人精品综合,亚洲一区精品视频在线,成 人免费va视频,国产一区二区三区黄网,99国产精品永久免费视频,亚洲毛片多多影院,精品久久久无码人妻中文字幕,无码国产欧美一区二区三区不卡
學(xué)習(xí)啦>學(xué)習(xí)電腦>工具軟件>辦公軟件學(xué)習(xí)>Excel教程>Excel表格>

excel如何破解工作表密碼

時(shí)間: 嘉銘873 分享

  一些有著重要的excel文件,工作表肯定會添加密碼,但是有時(shí)會忘記密碼,這是該如何破解呢?下面隨學(xué)習(xí)啦小編一起來看看吧。

  excel破解工作表密碼的步驟

  打開excel工作表。


  然后在Excel表中找到【視圖】。

  點(diǎn)開【宏】。

  然后選擇【錄制宏】。

  接著會彈出一個(gè)窗口,點(diǎn)擊【確定】。

  在此點(diǎn)開【宏】,點(diǎn)擊【停止錄制】。

  然后再點(diǎn)擊【宏】,彈出窗口點(diǎn)擊【編輯】。

  然后點(diǎn)擊【模板1】,并清空右邊紅框里的代碼,如下圖。

  然后把破解代碼復(fù)制粘貼進(jìn)入空白處(破解代碼小編將在文章最底部分享給大家)。

  然后在打開【查看宏】,點(diǎn)擊執(zhí)行破解代碼。

  會彈出一個(gè)框,是英文的,看不懂沒關(guān)系,點(diǎn)擊確定,解密需要一段時(shí)間。

  12破解代碼:

  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


excel破解工作表密碼相關(guān)文章:

1.如何破解excel宏密碼的方法

2.excel表格破解密碼的教程

3.excel破解表格保護(hù)密碼的方法

4.excel2010如何破解保護(hù)密碼

excel如何破解工作表密碼

一些有著重要的excel文件,工作表肯定會添加密碼,但是有時(shí)會忘記密碼,這是該如何破解呢?下面隨學(xué)習(xí)啦小編一起來看看吧。 excel破解工作表密碼的步驟 打開excel工作表。 然后在Excel表中找到【視圖】。 點(diǎn)開【宏】。 然后選擇【錄制宏
推薦度:
點(diǎn)擊下載文檔文檔為doc格式
1755260 主站蜘蛛池模板: 亚洲精品中文av在线| 精品国产一区二区三区大| 国产91精选在线观看| 亚洲最大福利视频网| 国产自拍一区二区三区在线| 中文字幕乱码一区二区免费| 亚洲色大成网站WWW永久麻豆| 国产精品美女一区二三区| 国产精品成| 九九热视频精选在线播放| 无码国产偷倩在线播放| 久久精品国产6699国产精| 亚洲欧美在线一区中文字幕| 成人一区二区三区久久精品| 亚洲高清日韩专区精品| 久久精品免视看国产成人| 免费国产高清在线精品一区| 国产无遮挡又黄又爽不要vip软件| 亚洲韩国精品无码一区二区三区| 秋霞人妻无码中文字幕| 国产欧美日韩高清在线不卡| 亚洲成在人网站av天堂| 精品国产成人a在线观看 | 日本成熟少妇喷浆视频| 亚洲区成人综合一区二区| 亚洲美免无码中文字幕在线 | 无套内谢少妇一二三四| 伊人久久大香线蕉综合5g| 亚洲日韩中文字幕在线播放| 亚洲欧美日本久久网站| 精品人妻av区乱码| 国产高清自产拍AV在线| 无套内谢少妇毛片aaaa片免费 | 日本韩国一区二区精品| 美日韩av一区二区三区| 亚洲 制服 丝袜 无码| 9久久伊人精品综合| 国产精品白浆在线观看免费| 精品国产成人亚洲午夜福利| 亚洲国产中文字幕精品| 四虎国产精品成人免费久久|