Quick Question!!!! about macros of MS Project

R

Rasheed

Hi All:

A very quick question... can i use the macros (created
in MS Project)from the other applications like Visual
Basic or ASP?

Note: I saved all macros in Global.mpt file.

Thanks!

-Rasheed
 
R

Rod Gill

HI,

Your question isn't clear, so this is a guess at the answer you are looking
for. Yes you can copy basic VB code from one app to the other. What's
different is the objects used. in Project you can refer to the ActiveProject
and VBA in Project knows what you mean.

In VB 6 you need to set a reference to the Project Object Library and then
start an instance of Project (EG ProjApp). Then you can refer to the
ActiveProject as: ProjApp.ActiveProject.

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 

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