Unprotect Worksheet Password
Sponsor
Excel Vba Question:
I have a microsoft xcel file that has been used as a template to create 700+ files which has the protection worksheet applied. I now what to add more excel formulas to this file and want to use a macro to do it. How can I enter the unprotect password automaticaly as part of the macro and then protect the sheet again before saving and closing?
Excel Vba Answer:
How to unprotect microsoft excel worksheet password, assuming the book is already open:
Dim Wsh as worksheet
set wsh= activeworkbook.Worksheets(1) ‘Eg: for 1 sheet of active book
wsh.unprotect “your_password”
‘… do what you have to do here
‘then reprotect with wsh.protect …..
(If you wish to unprotect a protected vba project, not the sheet, then it
is not possible through coding)
Rate This Tips:
Incoming excel search terms
mss,vba unprotect worksheet,excel passwordchar unprotect free,unprotect excel worksheet,excel vba unprotect sheet,unprotect worksheet vba,excel passwordchar unprotect,,finding unprotect password in excel,vba code to unprotect excel sheet,vba unprotect sheet,ca,excel password char unprotect,excel unprotect cells with password,excel unprotect sheet,excel vba unprotect,excel vba unprotect password,excel vba unprotect worksheet,excel visual basic unprotect sheet,free excel passwordchar unprotect,how to unprotect worksheet,microsoft excel vba unprotect multiple sheets,ph,unprotect excel sheet vba,unprotect sheet vba,unprotect workbook vba,unprotect worksheet macro,unprotection worksheets,vba excel unprotect sheet password,vba excel unprotect sheet with password,vba unprotect active sheet,vba unprotect password,vba unprotect sheet with password,0,active worksheet unprotect,activebook protected in vba,coding to unprotected excel password,enter password as part of excel macro,enter unprotect sheet vba,excel 2010 passwordchar unprotect free,excel add in to unprotect a worksheet,excel macro unprotect sheet,excel password char unprotect free,excel protect sheet macro,excel protect vba password,excel sheet unprotect password macro,excel unprotect columns,excel unprotect formula,excel unprotect password,excel unprotect sheet excel vba
Related Excel Tips
Comments
Have another excel answer or questions for this problem ?
Feel free to post it here..














