PDA

Click to See Complete Forum and Search --> : How to open MS Project file (VBA)


sweet_dreams
Oct 10th, 2005, 06:38 AM
Hi,

I have such a problem:
I have MS Excel document. In this document I have command button. How can I open particular MS Project's file by clicking this button or how can I open MS Project application by clicking on this button.

Please help.

Hack
Oct 10th, 2005, 06:41 AM
VBA/Office Development question. Moved.

RobDog888
Oct 10th, 2005, 10:37 AM
Are you just needing to open it or automate Project? If open only then you can Shell or ShellExecute the file. If you need to automate it then you need to add a reference to MS Project xx.0 Object Library. Then create an instance of the app and open the file.