Escolar Documentos
Profissional Documentos
Cultura Documentos
Desproteger Pasta de Trabalho e Planilha
Desproteger Pasta de Trabalho e Planilha
'
Const ALLCLEAR As String = DBLSPACE & "A planilha deve estar agora " & _
DBLSPACE & "SALVE AGORA!" & DBLSPACE & "e também" & _
"ou banco de dados." & DBLSPACE & "Acesso e uso de algumas informações " & _
"isso vai demorar um pouco." & DBLSPACE & "A duração de tempo " & _
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, _
"$", PWord1), vbInformation, HEADER
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
On Error Resume Next
Do 'Dummy do loop
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
MsgBox Application.Substitute(MSGPWORDFOUND2, _
w2.Unprotect PWord1
Next w2
End If
On Error GoTo 0
End If
End With
Next w1
End If
MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER
End Sub