A
angus404
I am using Project 2007 and have some VBA code in the Project_BeforeSave
event. This code worked fine in Project 2003, and it works fine when the user
clicks on the save button.
However, if the user closes the project and chooses "Save" and "Check In" I
get an error 1004. The error occurs when trying to get
ActiveProject.CurrentView. When debugging, I get the same error if I try to
access any properties of the ActiveProject.
How can I access the ActiveProject in the BeforeSave event if it doesn't
exist?
event. This code worked fine in Project 2003, and it works fine when the user
clicks on the save button.
However, if the user closes the project and chooses "Save" and "Check In" I
get an error 1004. The error occurs when trying to get
ActiveProject.CurrentView. When debugging, I get the same error if I try to
access any properties of the ActiveProject.
How can I access the ActiveProject in the BeforeSave event if it doesn't
exist?