Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Power Lifting Lever Belt
SkullVamp
Updated:
Saturday at 10:32 PM
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Saturday at 3:55 PM
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Ad icon
Wechat qr verification
Pawan2005
Updated:
Jun 11, 2026
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Jun 10, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
Exel 2016 Password Remove
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Palihawadana1990" data-source="post: 22938780" data-attributes="member: 376674"><p>Note:- Steps</p><p></p><p>01. First go to the Developer Tab </p><p>02. Click Visual Basic </p><p>03. Go to Insert Tab and Click Module </p><p>04. and Past below Command and Close</p><p>05. Again go to the Developer tab and Click Macros </p><p>06. and run Remove Password </p><p>Finished</p><p></p><p>* Check below Youtube Video</p><p></p><p><a href="https://www.youtube.com/watch?v=XUPBT2lXN_E" target="_blank">https://www.youtube.com/watch?v=XUPBT2lXN_E</a></p><p></p><p></p><p></p><p>Public Sub Remove_Password()</p><p> </p><p> ' Koden är hämtad från <a href="http://mcgimpsey.com/excel/removepwords.html" target="_blank">http://mcgimpsey.com/excel/removepwords.html</a></p><p> ' Distribuerad enligt GNU General Public License</p><p> ' OBS! koden används på egen risk och med eget ansvar</p><p> ' Läs denna innan du distribuerar vidare: <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">http://www.gnu.org/licenses/gpl.html</a></p><p> ' Breaks worksheet and workbook structure passwords. Bob McCormick </p><p> ' probably originator of base code algorithm modified for coverage </p><p> ' of workbook structure / windows passwords and for multiple passwords</p><p> '</p><p> ' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)</p><p> ' Modified 2003-Apr-04 by JEM: All msgs to constants, and</p><p> ' eliminate one Exit Sub (Version 1.1.1)</p><p> ' Reveals hashed passwords NOT original passwords</p><p> Const DBLSPACE As String = vbNewLine & vbNewLine</p><p> Const AUTHORS As String = DBLSPACE & vbNewLine & _</p><p> "Adapted from Bob McCormick base code by" & _</p><p> "Norman Harker and JE McGimpsey"</p><p> Const HEADER As String = "AllInternalPasswords User Message"</p><p> Const VERSION As String = DBLSPACE & "Version 1.1.1 2003-Apr-04"</p><p> Const REPBACK As String = DBLSPACE & "Please report failure " & _</p><p> "to the microsoft.public.excel.programming newsgroup."</p><p> Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _</p><p> "now be free of all password protection, so make sure you:" & _</p><p> DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _</p><p> DBLSPACE & "BACKUP!, BACKUP!!, BACKUP!!!" & _</p><p> DBLSPACE & "Also, remember that the password was " & _</p><p> "put there for a reason. Don't stuff up crucial formulas " & _</p><p> "or data." & DBLSPACE & "Access and use of some data " & _</p><p> "may be an offense. If in doubt, don't."</p><p> Const MSGNOPWORDS1 As String = "There were no passwords on " & _</p><p> "sheets, or workbook structure or windows." & AUTHORS & VERSION</p><p> Const MSGNOPWORDS2 As String = "There was no protection to " & _</p><p> "workbook structure or windows." & DBLSPACE & _</p><p> "Proceeding to unprotect sheets." & AUTHORS & VERSION</p><p> Const MSGTAKETIME As String = "After pressing OK button this " & _</p><p> "will take some time." & DBLSPACE & "Amount of time " & _</p><p> "depends on how many different passwords, the " & _</p><p> "passwords, and your computer's specification." & DBLSPACE & _</p><p> "Just be patient! Make me a coffee!" & AUTHORS & VERSION</p><p> Const MSGPWORDFOUND1 As String = "You had a Worksheet " & _</p><p> "Structure or Windows Password set." & DBLSPACE & _</p><p> "The password found was: " & DBLSPACE & "$$" & DBLSPACE & _</p><p> "Note it down for potential future use in other workbooks by " & _</p><p> "the same person who set this password." & DBLSPACE & _</p><p> "Now to check and clear other passwords." & AUTHORS & VERSION</p><p> Const MSGPWORDFOUND2 As String = "You had a Worksheet " & _</p><p> "password set." & DBLSPACE & "The password found was: " & _</p><p> DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _</p><p> "future use in other workbooks by same person who " & _</p><p> "set this password." & DBLSPACE & "Now to check and clear " & _</p><p> "other passwords." & AUTHORS & VERSION</p><p> Const MSGONLYONE As String = "Only structure / windows " & _</p><p> "protected with the password that was just found." & _</p><p> ALLCLEAR & AUTHORS & VERSION & REPBACK</p><p> Dim w1 As Worksheet, w2 As Worksheet</p><p> Dim i As Integer, j As Integer, k As Integer, l As Integer</p><p> Dim m As Integer, n As Integer, i1 As Integer, i2 As Integer</p><p> Dim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer</p><p> Dim PWord1 As String</p><p> Dim ShTag As Boolean, WinTag As Boolean</p><p> </p><p> Application.ScreenUpdating = False</p><p> With ActiveWorkbook</p><p> WinTag = .ProtectStructure Or .ProtectWindows</p><p> End With</p><p> ShTag = False</p><p> For Each w1 In Worksheets</p><p> ShTag = ShTag Or w1.ProtectContents</p><p> Next w1</p><p> If Not ShTag And Not WinTag Then</p><p> MsgBox MSGNOPWORDS1, vbInformation, HEADER</p><p> Exit Sub</p><p> End If</p><p> MsgBox MSGTAKETIME, vbInformation, HEADER</p><p> If Not WinTag Then</p><p> MsgBox MSGNOPWORDS2, vbInformation, HEADER</p><p> Else</p><p> On Error Resume Next</p><p> Do 'dummy do loop</p><p> For i = 65 To 66: For j = 65 To 66: For k = 65 To 66</p><p> For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66</p><p> For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66</p><p> For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126</p><p> With ActiveWorkbook</p><p> .Unprotect Chr(i) & Chr(j) & Chr(k) & _</p><p> Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _</p><p> Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite23" alt="(n)" title="Thumbs down (n)" loading="lazy" data-shortname="(n)" /></p><p> If .ProtectStructure = False And _</p><p> .ProtectWindows = False Then</p><p> PWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _</p><p> Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _</p><p> Chr(i4) & Chr(i5) & Chr(i6) & Chr<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite23" alt="(n)" title="Thumbs down (n)" loading="lazy" data-shortname="(n)" /></p><p> MsgBox Application.Substitute(MSGPWORDFOUND1, _</p><p> "$$", PWord1), vbInformation, HEADER</p><p> Exit Do 'Bypass all for...nexts</p><p> End If</p><p> End With</p><p> Next: Next: Next: Next: Next: Next</p><p> Next: Next: Next: Next: Next: Next</p><p> Loop Until True</p><p> On Error GoTo 0</p><p> End If</p><p> If WinTag And Not ShTag Then</p><p> MsgBox MSGONLYONE, vbInformation, HEADER</p><p> Exit Sub</p><p> End If</p><p> On Error Resume Next</p><p> For Each w1 In Worksheets</p><p> 'Attempt clearance with PWord1</p><p> w1.Unprotect PWord1</p><p> Next w1</p><p> On Error GoTo 0</p><p> ShTag = False</p><p> For Each w1 In Worksheets</p><p> 'Checks for all clear ShTag triggered to 1 if not.</p><p> ShTag = ShTag Or w1.ProtectContents</p><p> Next w1</p><p> If ShTag Then</p><p> For Each w1 In Worksheets</p><p> With w1</p><p> If .ProtectContents Then</p><p> On Error Resume Next</p><p> Do 'Dummy do loop</p><p> For i = 65 To 66: For j = 65 To 66: For k = 65 To 66</p><p> For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66</p><p> For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66</p><p> For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126</p><p> .Unprotect Chr(i) & Chr(j) & Chr(k) & _</p><p> Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _</p><p> Chr(i4) & Chr(i5) & Chr(i6) & Chr<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite23" alt="(n)" title="Thumbs down (n)" loading="lazy" data-shortname="(n)" /></p><p> If Not .ProtectContents Then</p><p> PWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _</p><p> Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _</p><p> Chr(i4) & Chr(i5) & Chr(i6) & Chr<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite23" alt="(n)" title="Thumbs down (n)" loading="lazy" data-shortname="(n)" /></p><p> MsgBox Application.Substitute(MSGPWORDFOUND2, _</p><p> "$$", PWord1), vbInformation, HEADER</p><p> 'leverage finding Pword by trying on other sheets</p><p> For Each w2 In Worksheets</p><p> w2.Unprotect PWord1</p><p> Next w2</p><p> Exit Do 'Bypass all for...nexts</p><p> End If</p><p> Next: Next: Next: Next: Next: Next</p><p> Next: Next: Next: Next: Next: Next</p><p> Loop Until True</p><p> On Error GoTo 0</p><p> End If</p><p> End With</p><p> Next w1</p><p> End If</p><p> MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER</p><p> End Sub</p><p></p><p><span style="color: SeaGreen">මේ විදියට කරල බලපන්.. හරි ගියා හෝ නැත්තම් PM එකක් දාපන්...</span></p></blockquote><p></p>
[QUOTE="Palihawadana1990, post: 22938780, member: 376674"] Note:- Steps 01. First go to the Developer Tab 02. Click Visual Basic 03. Go to Insert Tab and Click Module 04. and Past below Command and Close 05. Again go to the Developer tab and Click Macros 06. and run Remove Password Finished * Check below Youtube Video [url]https://www.youtube.com/watch?v=XUPBT2lXN_E[/url] Public Sub Remove_Password() ' Koden är hämtad från [url]http://mcgimpsey.com/excel/removepwords.html[/url] ' Distribuerad enligt GNU General Public License ' OBS! koden används på egen risk och med eget ansvar ' Läs denna innan du distribuerar vidare: [url]http://www.gnu.org/licenses/gpl.html[/url] ' 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 [COLOR="SeaGreen"]මේ විදියට කරල බලපන්.. හරි ගියා හෝ නැත්තම් PM එකක් දාපන්...[/COLOR] [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom