Consulting

Results 1 to 4 of 4

Thread: ThisProject.Saved Error

  1. #1
    VBAX Regular
    Joined
    Sep 2004
    Posts
    10
    Location

    ThisProject.Saved Error

    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 assignment
    I have used a similar construct in Excel with no problems (ThisWorkbook.Saved = True)

    Any ideas???

  2. #2
    VBAX Mentor
    Joined
    Sep 2004
    Location
    Nashua, NH, USA
    Posts
    489
    Location
    Quote Originally Posted by SeanS
    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.

  3. #3
    VBAX Master TonyJollans's Avatar
    Joined
    May 2004
    Location
    Norfolk, England
    Posts
    2,291
    Location
    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.
    Enjoy,
    Tony

    ---------------------------------------------------------------
    Give a man a fish and he'll eat for a day.
    Teach him how to fish and he'll sit in a boat and drink beer all day.

    I'm (slowly) building my own site: www.WordArticles.com

  4. #4
    VBAX Regular
    Joined
    Sep 2004
    Posts
    10
    Location
    Couldn't find an equivalent property in Project, so decided to code my module in a different way. Thanks anyway...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •