亚洲天堂h,成人精品一区二区久久久,国产精品成人第一区,丁香婷婷六月天,九色视频网址,综合激情五月婷婷

系統下載、安裝、激活,就到系統天地來!

所在位置: 首頁 — 系統文章 — office教程

如何破解Excel密碼?Win10系統下破解Excel密碼的技巧

作者:系統天地 日期:2017-11-08

 

如何破解excel密碼?在win10操作系統中當我們無法打開Excel文檔提示需要輸入密碼才能查看,該怎么辦呢?當我們遇到Excel文檔打開需要密碼的現象,在不知道密碼的情況下可以使用密碼字典去解讀,解讀成功即為破解。在本文中會win10之家小編將給大家分享下win10破解excel密碼的方法。

 

步驟:

1、打開加密的 Excel,然后用快捷命令Alt+F8 打開宏命令 窗口,如圖所示:

 

如何破解excel密碼?win10破解excel密碼的方法

 

2、在宏名一欄中 輸入宏的名字 隨意健入,如圖:

 

如何破解excel密碼?win10破解excel密碼的方法

 

3、輸入完宏名后 創建的按鈕就亮了 點擊創建 我們就看到了新界面,如圖:

 

如何破解excel密碼?win10破解excel密碼的方法

 

4、將編輯框內的Sub knife( )End Sub刪除 將下列代碼 復制 上去:

 

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

 

5、關閉【宏窗口】回到Excel,按下ALT+F8組合鍵重新打開【宏命令窗口】,如圖所示:

 

如何破解excel密碼?win10破解excel密碼的方法

 

6、你會發現 你前面輸入的宏名 變成了AllInternalPasswords 點擊【執行】 會出現全英文的提示框,一直點擊【確定】即可;

 

如何破解excel密碼?win10破解excel密碼的方法

 

7、一直點 確定 直到不在 出現對話框為止。

 

如何破解excel密碼?win10破解excel密碼的方法

 

等一段之系統會 再次跳出對話框 再點確定 保護就破解成功,重新打開Excel表格即無需輸入密碼!

 

主站蜘蛛池模板: 久久国产精品二国产精品 | 亚洲国产成人久久综合一区77 | 久久久国产高清 | 国产男人天堂 | 欧美色综合网站 | 手机视频在线 | 亚洲国产人成网站在线电影动漫 | 新婚第一次一级毛片 | 九色国产在视频线精品视频 | 精品视频在线观看一区二区 | 国产精品一二三区 | 色激情综合 | 久热免费视频 | 综合久久一区二区三区 | 五月天丁香婷婷开心激情五月 | 五月天激情丁香 | 伊人国产在线播放 | 中文字幕欧美视频 | a级在线观看| 在线黄视频 | 五月天激情婷婷大综合 | 久久新网址 | 亚洲人成影院在线高清 | 小草影院在线观看播放 | 九九精品国产兔费观看久久 | 最新欧美精品一区二区三区 | 亚洲 成人 欧美 自拍 | 波多野结衣免费在线视频 | 久久精品国产免费看久久精品 | 国产麻豆麻豆 | 国产成人精品日本亚洲专 | 久久久久蜜桃 | 国产精品入口麻豆电影网 | 久久综合久久综合久久综合 | 亚洲最大福利 | 欧美精品久久久久久久免费观看 | 中文字幕日本亚洲欧美不卡 | 亚洲精品乱码久久久久久蜜桃 | 男人综合网 | 亚洲国产高清在线精品一区 | 在线观看国产 |