For a password protected Worksheet in Excel, open VBA Editor and create a function with the given code. Save the file and close. Now open the Excel file, the code will give you a password to Unprotect that sheet.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
23 views
Excel VBA Code To Remove Excel Password Picture 2
For a password protected Worksheet in Excel, open VBA Editor and create a function with the given code. Save the file and close. Now open the Excel file, the code will give you a password to Unprotect that sheet.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Sub Br ea kPa sswo r d ()
Dim i As Integ e r , j As Integ e r , k As Integ e r
Dim l As Integ e r , m As Integ e r , n As Integ e r Dim i l As Integ e r , i 2 As Integ e r , i3 As Integ e r Dim i 4 As Integ e r , i 5 As Integ e r , i 6 As Integ e r On Erro r Re s ume Next 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 i l = 65 To 66 For i 2 = 65 To 66 : For i3 = 65 To 66 : For i 4 = 65 To 66 For i 5 = 65 To 66 : For i 6 = 65 To 66 : For n = 3 2 To 126 Act ive Sh eet . Unp r o tec t Ch r (i ) & Ch r (j ) & Ch r ( k ) & Ch r (l ) & Ch r (m) & Ch r (i l ) & Ch r (i 2 ) & Ch r (i3 ) & Ch r (i 4 ) & Ch r (i 5 ) & Ch r (i 6 ) & Ch r (n ) I f Act ive Sheet . Pr o tec t Content s = Fa l s e The n Ex i t Sub En d I f Next : Next : Next : Next : Next : Next Next : Next : Next : Next : Next : Next En d Sub