跪求大神破解xls文件密码 40
2个回答
展开全部
你建立个宏复制以下就可以了,并切是批量解密。但不建意使用这类手段破解他人文件,于情于理于法都不合适,且使用宏易中病毒,本人无必需是不使用宏的。
Sub jiami()
Dim mypath As String, xlsname As String
Dim wbk As Workbook
mypath = ThisWorkbook.Path
xlsname = Dir(mypath & "\" & "*.xls")
Application.DisplayAlerts = False
Do While xlsname <> ""
If xlsname <> ThisWorkbook.Name Then
Set wbk = Workbooks.Open(mypath & "\" & xlsname)
wbk.Password = "123456"
wbk.Close savechanges:=True
End If
xlsname = Dir
Loop
Application.DisplayAlerts = False
End Sub
Sub jiemi()
Dim mypath As String, xlsname As String
Dim wbk As Workbook
mypath = ThisWorkbook.Path
xlsname = Dir(mypath & "\" & "*.xls")
Application.DisplayAlerts = False
Do While xlsname <> ""
If xlsname <> ThisWorkbook.Name Then
Workbooks.Open (mypath & "\" & xlsname), Password:="123456"
ActiveWorkbook.Password = ""
ActiveWorkbook.Close savechanges:=True
End If
xlsname = Dir
Loop
Application.DisplayAlerts = False
End Sub
Sub jiami()
Dim mypath As String, xlsname As String
Dim wbk As Workbook
mypath = ThisWorkbook.Path
xlsname = Dir(mypath & "\" & "*.xls")
Application.DisplayAlerts = False
Do While xlsname <> ""
If xlsname <> ThisWorkbook.Name Then
Set wbk = Workbooks.Open(mypath & "\" & xlsname)
wbk.Password = "123456"
wbk.Close savechanges:=True
End If
xlsname = Dir
Loop
Application.DisplayAlerts = False
End Sub
Sub jiemi()
Dim mypath As String, xlsname As String
Dim wbk As Workbook
mypath = ThisWorkbook.Path
xlsname = Dir(mypath & "\" & "*.xls")
Application.DisplayAlerts = False
Do While xlsname <> ""
If xlsname <> ThisWorkbook.Name Then
Workbooks.Open (mypath & "\" & xlsname), Password:="123456"
ActiveWorkbook.Password = ""
ActiveWorkbook.Close savechanges:=True
End If
xlsname = Dir
Loop
Application.DisplayAlerts = False
End Sub
更多追问追答
追问
不会啊
求帮忙
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询