Follow the procedure that PHV outlined then click on Tools->References. Scroll down to Microsoft Project 9.0 Object Library. Check the checkbox. You will now be able to reference the project object model.
[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]