zelarra821
Registered User.
- Local time
- Today, 15:31
- Joined
- Jan 14, 2019
- Messages
- 813
Buenas tardes.
I'm looking for a way to remove the VBA project protection (I know the password), set the project name, and then put the same password back. I have this:
I know that it has to be done using SendKeys, but I can't find the key. When I run the code and go into the project properties, the password is still there.
Can someone tell me how to do it?
Thank you.
I'm looking for a way to remove the VBA project protection (I know the password), set the project name, and then put the same password back. I have this:
Code:
If Application.VBE.ActiveVBProject.Protection = 0 Then
Application.VBE.VBProjects(Application.VBE.ActiveVBProject.Name).Name = DLookup("TituloAplicacion", "T00Configuracion")
End If
I know that it has to be done using SendKeys, but I can't find the key. When I run the code and go into the project properties, the password is still there.
Can someone tell me how to do it?
Thank you.