VBProject Password

G

Gary

I need to use the Visio VBProject object. I know how to remove and/or load a
form or module. However, I'm not able to do this if the VBA code is
protected. Can someone tell me how to access the protected VBProject object.
I know the password so that isn't a problem.

Thanks

Gary
 
J

junethesecond

If you are going to expand a project and click a "+" at header in project
explorer of the VBA editor, a window will open for entering password.
 
G

Gary

Yes, that I know but, I need to do this in code as I will be accessing the
VBA code in Visio from another application such as Access or VB. I’m writing
code that will open Visio, remove a module or form and then load the new
module or form save the changes and go to the next Visio document. Again,
the problem is being able to do this when the VBA code in Visio has been
password protected.

Gary
 

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