+ Reply to Thread
Results 1 to 4 of 4

Saving and closing workbook after idle time

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    66

    Saving and closing workbook after idle time

    I am trying to add code to my workbook so that after a certain period of idle time, the workbook autosaves and closes. I am using the code from the following post:

    http://www.excelforum.com/excel-prog...-workbook.html

    The problem I am having with the code is that it automatically saves/closes after the allotted time regardless of activity. I cannot seem to do anything in my workbook that keeps it open. Any thoughts? Thanks.
    Last edited by bigmantitus; 10-04-2012 at 11:16 AM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Saving and closing workbook after idle time

    Hi bigmantitus,

    The code seemed somewhat redundant - see if this works:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    09-14-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Saving and closing workbook after idle time

    That worked perfectly, thanks.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Saving and closing workbook after idle time

    You're welcome!

+ 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