Documente Academic
Documente Profesional
Documente Cultură
2. Kemudian Buka Visual Basic dengan cara : Klik kanan sheet, view code atau tekan ALT +
F11
3. Kemudian Copy-kan kode HTML di bawah ini mulai dari Public Sub All.......s/d and sub :
'
Const REPBACK As String = DBLSPACE & "Please report failure " & _
Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _
DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _
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 " & _
"will take some time." & DBLSPACE & "Amount of time " & _
"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
"password set." & DBLSPACE & "The password found was: " & _
DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _
"set this password." & DBLSPACE & "Now to check and clear " & _
Application.ScreenUpdating = False
With ActiveWorkbook
End With
ShTag = False
Next w1
Exit Sub
End If
Else
Do 'dummy do loop
With ActiveWorkbook
MsgBox Application.Substitute(MSGPWORDFOUND1, _
End If
End With
On Error GoTo 0
End If
Exit Sub
End If
w1.Unprotect PWord1
Next w1
On Error GoTo 0
ShTag = False
Next w1
If ShTag Then
With w1
If .ProtectContents Then
Do 'Dummy do loop
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
MsgBox Application.Substitute(MSGPWORDFOUND2, _
w2.Unprotect PWord1
Next w2
Exit Do 'Bypass all for...nexts
End If
On Error GoTo 0
End If
End With
Next w1
End If
MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER
End Sub
5. Kemudian OK