Programatically export modules

J

John

james b said:
How do I programatically export VBA modules?

james b,
I assume you want to copy VBA modules from one Project file to another
because copying a Project VBA module to another application doesn't make
sense (i.e. Project VBA modules only run under Project).

Open both Project files and then use the OrganizerMoveItem Method to
copy VBA modules from one file to the other.

Hope this helps.
John
Project MVP
 
J

james b

I'm doing neither of what you mention.

What I want to do is export the Enterprise Global's modules (and forms) for
other purposes (outside the MS Project environment) and would like to develop
a programmatic way, due to the large number.

I am familiar with the Organizer(Delete|Move|Rename)Item methods; I don't
see how to use them to do this.

Also, do you know if the "Enterprise Global" can be exported?

Thanks.
 
J

John

james b said:
I'm doing neither of what you mention.

What I want to do is export the Enterprise Global's modules (and forms) for
other purposes (outside the MS Project environment) and would like to develop
a programmatic way, due to the large number.

I am familiar with the Organizer(Delete|Move|Rename)Item methods; I don't
see how to use them to do this.

Also, do you know if the "Enterprise Global" can be exported?

Thanks.

bundgaj,
As I said, Project VBA modules only work in the Project environment so
it isn't clear to me why you want to try and export them outside of
Project. Nonetheless, I don't work with Project Server so I really don't
know what you can and cannot do with the Enterprise Global. Hopefully
someone else will step in with an answer on that.

Sorry.

John
Project MVP
 

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