|
![]() |
||
Desproteger planilha do Excel
|
||
. Nós temos 673.763 usuários, convidamos você fazer parte de nossa comunidade também! Se ainda não encontrou o que procura use nossa pesquisa. Esperamos que aprecie nosso trabalho.
![]() |
|
|
Opções do Tópico |
|
|
#1 (permalink) |
|
General de Pijama
Registrado em: Jul 2004
Localização: Cidade de Deus
Idade: 23
Mensagens: 3.163
Reputação: 26
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
estou c/ uma planilha do excel que veio "Protegida" se eu tento alterar alguma coisa ele dá uma mensagem p/ desproteger ...
então vou até o Menu Ferramentas / Proteger / Desproteger planilha... e ele pede senha ... será q teria um modo de descobrir a senha, ou quebrar ela ? Um Abraço
__________________
Agora to no Twitter, vamos ver qual é .... http://twitter.com/bruno_feliped Abraços |
|
|
|
|
|
#2 (permalink) |
|
Veterano
Registrado em: Mar 2006
Localização: Telêmaco Borba-PR
Mensagens: 1.462
Reputação: 14
![]() ![]() ![]() |
Da uma olhada aki amigo:
http://forum.clubedohardware.com.br/index.php?showtopic=26594 http://www.istf.com.br/vb/showthread.php?t=5822 http://www.babooforum.com.br/idealbb/view.asp?topicID=237401 http://www.windicas.hpg.ig.com.br/senhas_doc_xls.html http://www.decryptum.com/?utm_source=google&utm_medium=ppc&utm_term=excel+p assword&utm_campaign=dc_network&gclid=CPygydqRuoUC FThxLAodwEr1qg
__________________
Pentium 4 3.0GHz 775 LGA HT Prescott MB Intel D915GAG 1536 RAM HD Samsung 250G SATA II |
|
|
|
|
|
#3 (permalink) |
|
Ubbergeek
|
Ou então dá uma pesquisada aqui no forum mesmo que eu postei uma macro que quebra senha de proteção de planilha (não de arquivo)
__________________
Não respondo dúvidas por MP nem por E-mail!!
|
|
|
|
|
|
#4 (permalink) |
|
General de Pijama
Registrado em: Jul 2004
Localização: Cidade de Deus
Idade: 23
Mensagens: 3.163
Reputação: 26
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
iae asolivei eu encontrei a sua macro
Código:
__________________
Agora to no Twitter, vamos ver qual é .... http://twitter.com/bruno_feliped Abraços |
|
|
|
|
|
#5 (permalink) |
|
Veterano
Registrado em: Mar 2006
Localização: Telêmaco Borba-PR
Mensagens: 1.462
Reputação: 14
![]() ![]() ![]() |
Po galera peguei uma planilha que no visual eu não consigo abrir nada sem a senha, então como vou colocar esse código?
__________________
Pentium 4 3.0GHz 775 LGA HT Prescott MB Intel D915GAG 1536 RAM HD Samsung 250G SATA II |
|
|
|
|
|
#6 (permalink) |
|
Super Participante
|
Onde eu ponho essa macro brunofeliped =O ? :?:
ops:
__________________
|
|
|
|
|
|
#7 (permalink) |
|
Veterano
Registrado em: Mar 2006
Localização: Telêmaco Borba-PR
Mensagens: 1.462
Reputação: 14
![]() ![]() ![]() |
No VBA...cria uma macro e edit o código e poe esse codigo que ele falou...
__________________
Pentium 4 3.0GHz 775 LGA HT Prescott MB Intel D915GAG 1536 RAM HD Samsung 250G SATA II |
|
|
|
|
|
#8 (permalink) |
|
Veterano
Registrado em: Mar 2006
Localização: Telêmaco Borba-PR
Mensagens: 1.462
Reputação: 14
![]() ![]() ![]() |
eu tenho uma planulha aki ta nesse link e num consigo desproteger ela se quiserem dar uma olhada....quem conseguir me avise como...
http://rapidshare.de/files/18359820/Alemanha_2006.zip.html
__________________
Pentium 4 3.0GHz 775 LGA HT Prescott MB Intel D915GAG 1536 RAM HD Samsung 250G SATA II |
|
|
|
|
|
#9 (permalink) | |
|
Ubbergeek
|
Citação:
Use a macro que eu postei, colocando ela em um outro arquivo (pessoal.xls, por exemplo) Abra o arquivo alemanha2006 e desproteja logo que abrir, depois vá em options e peça para mostrar as planilhas (Options>View>Sheet Tab). Depois disso vá em cada uma das tabs e desproteja também. Aqui deu certo.. |
|
|
|
|
|
|
#10 (permalink) |
|
Newbie
Registrado em: Dec 2006
Mensagens: 1
Reputação: 0
![]() |
Seguinte o problema é que ao abrir o excell ele automaticamente pede a senha não nem para acessar o menu macro. Como devo proceder com esta macro (por sinal muito boa!!!)
|
|
|
|
|
|
#11 (permalink) | |
|
Ubbergeek
|
Citação:
A sua planilha deve estar protegida com senha de abertura, neste caso a macro não funciona. É preciso usar um programa do tipo password recovery para "quebrar" a senha e muiiiita sorte !
__________________
Não respondo dúvidas por MP nem por E-mail!!
|
|
|
|
|
|
|
#12 (permalink) |
|
Veterano
Registrado em: Aug 2005
Localização: MG
Mensagens: 1.432
Reputação: 16
![]() ![]() ![]() ![]() |
Infelismente não consegui fazer funcionar aqui! Alguém pode dar maiores detalhes?
__________________
Intel Core 2 Quad Q8400 4 GB de RAM HD 500 GB Seagate Asus P5QL SE CDDVDW SH-S223B ATA Device GeForce 9500 GT (1024 MB) Play TV Pro Ultra Seven Ultimate, XP sp3 e Ubuntu 9.10 |
|
|
|
|
|
#13 (permalink) |
|
Super Participante
|
meu excel simplesmente trava qdo tento rodar a macro
=/ oq sera q eu estou fazendo de errado?
__________________
Alizee |
|
|
|
|
|
#14 (permalink) |
|
Tô em todas
|
A um tempo atras eu fiz um programa qua usa esta macro do asolivei para descobrir as senhas destas planilhas, vou colocar o programa aqui se alguem precisar pode pegar, mas ele foi feito em VB, por isso quem não tem o Win XP tem que instalar o VBrun para ele funcionar.
Ele descobre uma senha "PARALELA" tipo AABBAB uma senha esquisita, mas pode digitar ela que a planilha desprotege. Falou
__________________
Society, you are a crazy breed I Hope you are not lonely without me... When you want more than you have You think you need... !! |
|
|
|
|
|
#15 (permalink) |
|
Super Participante
|
pessoal
http://www.ppcp.hpgvip.ig.com.br/gratuito.htm no primeiro download deste site q eh uma planilha de estoque encontra-se bloqueada as macros, provavelmente uma senha do VBA como tira-la?
__________________
Alizee |
|
|
|
|
|
#16 (permalink) | |
|
Ubbergeek
|
Citação:
Você precisa de um programa para quebrar a senha, como esse aqui: http://www.lostpassword.com/vba.htm |
|
|
|
|
|
|
#17 (permalink) |
|
Ubbergeek
|
Aproveitando, ao invés de usar a macro que eu postei para desproteger planilhas, você pode fazer o download deste Add-in e carrega-lo no Excel. No menu Ferramentas serão criada duas opções (Unprotect Sheet e Unprotect Workbook) que você pode usar para desproteger as planilhas sem precisar rodar a macro.
Agora, se você tem um arquivo com diversas pastas e todas estão protegidas, use esta macro e ela vai desproteger todas de uma só vez ![]() 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 |
|
|
|
|
|
#18 (permalink) |
|
Super Participante
|
Infelizmente mesmo com este programinha nao consigo liberar o projeto VBA da senha propria dele.
__________________
Alizee |
|
|
|
|
|
#19 (permalink) | |
|
Veterano
Registrado em: Aug 2005
Localização: MG
Mensagens: 1.432
Reputação: 16
![]() ![]() ![]() ![]() |
Citação:
__________________
Intel Core 2 Quad Q8400 4 GB de RAM HD 500 GB Seagate Asus P5QL SE CDDVDW SH-S223B ATA Device GeForce 9500 GT (1024 MB) Play TV Pro Ultra Seven Ultimate, XP sp3 e Ubuntu 9.10 |
|
|
|
|
|
|
#20 (permalink) | |
|
Ubbergeek
|
Citação:
Se for usar a macro, pode gravar no arquivo que você está usando ou no arquivo pessoal.xls, deixando assim disponível para todas as planilhas. Se for usar o Add-in, basta baixar e descompactar em uma pasta, depois vá até Ferramentas>Suplementos>, clique em localizar e abra o arquivo que você salvou e clique OK. Pronto, a opção de desproteger estará no seu menu Ferramentas. |
|
|
|
|
![]() |
| Opções do Tópico | |
|
|