PDA

View Full Version : ThisProject.Saved Error



SeanS
10-04-2004, 06:07 AM
I am getting a compile error with the following code in MSP 98

ThisProject.Saved = True

The compile error is:


Wrong number of arguments or invalid property assignmentI have used a similar construct in Excel with no problems (ThisWorkbook.Saved = True)

Any ideas???

Howard Kaikow
10-05-2004, 09:35 AM
I am getting a compile error with the following code in MSP 98

ThisProject.Saved = True

The compile error is:

I have used a similar construct in Excel with no problems (ThisWorkbook.Saved = True)

Any ideas???



What does the Help say about the Saved method?
To what does it apply?

I don't recall whether I have MSFT Project on any of my systems, so I cannot tell.

All the Oct 2001 MSDN library has is a purty picture of the object model for Project 97, but no details.

TonyJollans
10-05-2004, 03:06 PM
ThisProject.Saved is Read Only.

I don't know if there is another property which can be set to do the same as Excel's ThisWorkbook.Saved.

SeanS
10-11-2004, 06:36 AM
Couldn't find an equivalent property in Project, so decided to code my module in a different way. Thanks anyway...