VBA Code to unprotect VBA Module

M

Michael Beckinsale

Hi All,

Further to a recent post can anybody tell me how you unprotect a VBA Project
in an external workbook using VBA code. I do know the password.

All contributions appreciated

Regards

Michael Beckinsale
 
B

Bob Phillips

This has been answered many times before. Here is a typical response from
Harald Staff

Not possible without a little unreliable SendKeys to simulate actual
keystrokes. Search http://groups.google.com/advanced_group_search for
keywords "unprotect project" in group *excel*



--

HTH

RP
(remove nothere from the email address if mailing direct)
 
D

dominicb

Good afternoon Michael Beckinsale

I don't believe it can be done directly from VBA, whether you know th
password or not. You could use the SendKeys command as a workaround
but it's a bit clumsy.

HTH

Dominic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top