Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA Code to unprotect VBA Module
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA Code to unprotect VBA Module
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) "Michael Beckinsale" wrote in message ... 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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA Code to unprotect VBA Module
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 -- dominic ----------------------------------------------------------------------- dominicb's Profile: http://www.excelforum.com/member.php...fo&userid=1893 View this thread: http://www.excelforum.com/showthread.php?threadid=39125 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Unprotect Code Module in Code | Excel Discussion (Misc queries) | |||
code in module A to not execute a Worksheet_SelectionChange sub of another module | Excel Discussion (Misc queries) | |||
copying vba code to a standard code module | Excel Discussion (Misc queries) | |||
Create a newworksheet with VBA code and put VBA code in the new worksheet module | Excel Programming | |||
Sheet Code Module: copying code to | Excel Programming |