Microsoft Excel Question:

How can I unprotect a VBA project using code?

Answer:

You cannot. A workaround is to simulate keystrokes with the SendKeys method

Read All 143 MS Excel Questions
Previous QuestionNext Question
How do I find the first empty cell in column A?Some of the functions that we want our macros to accomplish are not possible without first unprotecting the worksheet/workbook with the password?