- 1. excel2007計(jì)算錯(cuò)誤補(bǔ)丁
- 2. 迷你Excel數(shù)據(jù)導(dǎo)出工具 v1.1.4189.35666 綠色版
- 3. Excel 2003官方破解版免費(fèi)下載
- 4. 勤哲Excel服務(wù)器2010(輕松構(gòu)建管理信息系統(tǒng)) V9.0 ...
- 5. 勤哲Excel服務(wù)器(面向最終用戶的信息系統(tǒng)設(shè)計(jì)工具與...
- 6. 秋語Excel批量提取軟件 2011 國產(chǎn)免費(fèi)版
- 7. PDF與excel相互轉(zhuǎn)換工具 V1.02 簡體中文免費(fèi)版
- 8. FlowBreeze(MS Excel集成工具) V 2.3.11 安裝破解...
- 9. 具有導(dǎo)入導(dǎo)出Excel文檔并進(jìn)行對(duì)比的功能Excel比對(duì)提...
- 10. 快速的導(dǎo)入excel數(shù)據(jù)到sql server 數(shù)據(jù)庫中TxtToSq...
Excel—“撤銷工作表保護(hù)密碼”的破解并獲取原始密碼
Excel—“撤銷工作表保護(hù)密碼”的破解并獲取原始密碼
在日常工作中,您是否遇到過這樣的情況:您用Excel編制的報(bào)表、表格、程序等,在單元格中設(shè)置了公式、函數(shù)等,為了防止其他人修改您的設(shè)置或者防止您自己無意中修改,您可能會(huì)使用Excel的工作表保護(hù)功能,但時(shí)間久了保護(hù)密碼容易忘記,這該怎么辦?有時(shí)您從網(wǎng)上下載的Excel格式的小程序,您想修改,但是作者加了工作表保護(hù)密碼,怎么辦?您只要按照以下步驟操作,Excel工作表保護(hù)密碼瞬間即破!
1、打開您需要破解保護(hù)密碼的Excel文件;
2、依次點(diǎn)擊菜單欄上的工具---宏----錄制新宏,輸入宏名字如:aa;
3、停止錄制(這樣得到一個(gè)空宏);
4、依次點(diǎn)擊菜單欄上的工具---宏----宏,選aa,點(diǎn)編輯按鈕;
5、刪除窗口中的所有字符(只有幾個(gè)),替換為下面的內(nèi)容;
從橫線下開始復(fù)制
------------------------------------------------------------------------------------------
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
- 1. Excel—“撤銷工作表保護(hù)密碼”的破解并獲取原始密...
- 2. Excel幫你選函數(shù)
- 3. 在Excel中自定義函數(shù)
- 4. 讓Excel出現(xiàn)錯(cuò)誤數(shù)據(jù)提示
- 5. 在Excel中進(jìn)行快速計(jì)算與自動(dòng)篩選前10個(gè)
- 6. 查看Excel中相距較遠(yuǎn)的兩列數(shù)據(jù)
- 7. 巧用IF函數(shù)清除Excel工作表中的0與批量求和
- 8. 通過一次按鍵創(chuàng)建一個(gè)Excel圖表,繪制平直直線
- 9. 將Word中的內(nèi)容作為圖片鏈接插入Excel表格中
- 10. 將Word內(nèi)容以圖片形式插入到Excel表格中