+ Reply to Thread
Results 1 to 4 of 4

System variable for "changes made"

  1. #1
    Lon Sarnoff
    Guest

    System variable for "changes made"

    My application provides the user a Save button which creates a well-defined
    file name. I have disabled the user's access to the File>Save menu item. I
    would like to clear whatever system variable is used to flag "changes made"
    to the document which in turn prompts the "Do you want to save?" inquiry to
    the user upon closing.

    Is there such a variable which I can access, and if so, what is the setting
    which would suppress the inquiry?
    --
    Lon Sarnoff

  2. #2
    Tom Ogilvy
    Guest

    Re: System variable for "changes made"

    thisworkbooks.Saved = True

    --
    Regards,
    Tom Ogilvy


    "Lon Sarnoff" <[email protected]> wrote in message
    news:[email protected]...
    > My application provides the user a Save button which creates a

    well-defined
    > file name. I have disabled the user's access to the File>Save menu item.

    I
    > would like to clear whatever system variable is used to flag "changes

    made"
    > to the document which in turn prompts the "Do you want to save?" inquiry

    to
    > the user upon closing.
    >
    > Is there such a variable which I can access, and if so, what is the

    setting
    > which would suppress the inquiry?
    > --
    > Lon Sarnoff




  3. #3
    Nigel
    Guest

    Re: System variable for "changes made"

    ActiveWorkbook.Saved = True

    Will set the workbook 'system variable' to a saved status, closing the
    workbook after invoking the above will close it without any messaging.

    --
    Cheers
    Nigel



    "Lon Sarnoff" <[email protected]> wrote in message
    news:[email protected]...
    > My application provides the user a Save button which creates a

    well-defined
    > file name. I have disabled the user's access to the File>Save menu item.

    I
    > would like to clear whatever system variable is used to flag "changes

    made"
    > to the document which in turn prompts the "Do you want to save?" inquiry

    to
    > the user upon closing.
    >
    > Is there such a variable which I can access, and if so, what is the

    setting
    > which would suppress the inquiry?
    > --
    > Lon Sarnoff




  4. #4
    Lon Sarnoff
    Guest

    Re: System variable for "changes made"

    Thank you. Simplicity is golden.
    --
    Lon Sarnoff


    "Tom Ogilvy" wrote:

    > thisworkbooks.Saved = True
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "Lon Sarnoff" <[email protected]> wrote in message
    > news:[email protected]...
    > > My application provides the user a Save button which creates a

    > well-defined
    > > file name. I have disabled the user's access to the File>Save menu item.

    > I
    > > would like to clear whatever system variable is used to flag "changes

    > made"
    > > to the document which in turn prompts the "Do you want to save?" inquiry

    > to
    > > the user upon closing.
    > >
    > > Is there such a variable which I can access, and if so, what is the

    > setting
    > > which would suppress the inquiry?
    > > --
    > > Lon Sarnoff

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1