+ Reply to Thread
Results 1 to 5 of 5

Naming a sub (closing a document automatically)

  1. #1
    Registered User
    Join Date
    05-01-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    85

    Naming a sub (closing a document automatically)

    I want the document to close automatically, but I can't succeed in naming the sub - what am I doing wrong? (there might also be a problem with the Application.OnTime part of the code, am not sure though)

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    06-28-2011
    Location
    New Delhi India
    MS-Off Ver
    Excel 2003 ,2007
    Posts
    23

    Re: Naming a sub (closing a document automatically)

    hi Try this

    Please Login or Register  to view this content.
    Purushottam
    Excel, MS ACCESS 2007

  3. #3
    Registered User
    Join Date
    05-01-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Naming a sub (closing a document automatically)

    Thanks! Not working though

  4. #4
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    186

    Re: Naming a sub (closing a document automatically)

    This one is closing the wb acter 5 secs.
    Perhaps you can use this one?

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-01-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Naming a sub (closing a document automatically)

    I fixed it with the following code (or so it seems)

    Please Login or Register  to view this content.
    Thank you all!

+ 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