+ Reply to Thread
Results 1 to 6 of 6

How to see time between file opened and file closed?

  1. #1
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Lightbulb How to see time between file opened and file closed?

    Dear vba experts,
    I wanna know what is the time between file opened and file closed...
    Check my bad codes following...
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to see time between file opened and file closed?

    That's not bad coding in my opinion and looks to me like it should work?

  3. #3
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: How to see time between file opened and file closed?

    Hi JOHN,
    I dont want to use cells to keep times...
    Do you have any idea without using Range("A1") or Range("A2")?

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to see time between file opened and file closed?

    No? What do you want too do with the times? Store them?

  5. #5
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: How to see time between file opened and file closed?

    I am still searching to solve this issue...
    Last edited by HerryMarkowitz; 04-24-2015 at 08:08 AM.

  6. #6
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: How to see time between file opened and file closed?

    Solved!
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by HerryMarkowitz; 04-24-2015 at 09:06 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 04-19-2021, 06:44 AM
  2. Excel 2010 crashes after 2nd file is opened as read only and then closed
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2014, 03:53 PM
  3. Replies: 3
    Last Post: 02-25-2013, 03:18 PM
  4. How to set a Global Macros so that it gets opened every time an excel file is opened?
    By pericopericone in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2013, 05:53 AM
  5. Macro to open/close a file only if it isn't already opened/closed
    By catccc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2010, 10:27 AM

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