Automate Import to Project on Open

J

Joe

I've created a Project file that has an import map pulling from an Access
database. Is there code that I can us with the Project_Open Sub (below) that
will automate the import map process so that once a map is created the file
will update on open?

Private Sub Project_Open(ByVal pj As Project)
'NEED THE CODE TO GO HERE
End Sub

Appreciate the help,
 
J

John

Joe said:
I've created a Project file that has an import map pulling from an Access
database. Is there code that I can us with the Project_Open Sub (below) that
will automate the import map process so that once a map is created the file
will update on open?

Private Sub Project_Open(ByVal pj As Project)
'NEED THE CODE TO GO HERE
End Sub

Appreciate the help,

Joe,
Use the FileOpen Method with the appropriate arguments. You can see what
those arguments are by going to Tools/Macro/Visual Basic Editor and then
opening the object browser. Select MSProject as the library to view and
type in Open as the Search Text.

Hope this helps.
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