Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open MS Project without openning new blank project

Status
Not open for further replies.

Fozzie22

Programmer
Dec 3, 2003
59
AU
does anyone know how i could open MS Project without opening a new blank project from a command line or from shell function in vba. i think i could use a command-line switch or soemthing but i cant find any for MS Project
 
Don't know about a command line but, from VBA, you should be able to do something like ...
Code:
Set appProject = CreateObject("MSProject.Application")

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at VBAExpress[
 
Thanks for that tony, thought you had to open the application before you could use it as an object.
 
Hi Fozzie,

CreateObject does open the Application but it doesn't open (or create a new) Project.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at VBAExpress[
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top