ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro to get to VBA Project Password (https://www.excelbanter.com/excel-programming/351027-macro-get-vba-project-password.html)

steven

Macro to get to VBA Project Password
 
I recently learned that you cannot programmatically change the VBA Project
Password. I like to password the VBA Editor so when I make a change to the
code I have to go the long way around to input the password. I was wondering
if there is a code that will at least open the box to input the password. It
is such a pain to Click Tools / Macro / VB Editor ... then Tools / VBA
Project Properties.

Thanks for your help.

Steven

Gary L Brown

Macro to get to VBA Project Password
 
Sub TestMe()
Application.SendKeys ("%{F11}")
Application.SendKeys ("%te")
End Sub

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"Steven" wrote:

I recently learned that you cannot programmatically change the VBA Project
Password. I like to password the VBA Editor so when I make a change to the
code I have to go the long way around to input the password. I was wondering
if there is a code that will at least open the box to input the password. It
is such a pain to Click Tools / Macro / VB Editor ... then Tools / VBA
Project Properties.

Thanks for your help.

Steven



All times are GMT +1. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com