• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Creating an access log

Costas

Member
Hi Chandoo,

I have an excel file that is used by different people and I'm trying to keep an access log of the date/time it was opened and closed, the duration it was opened and the user.

I have trouble entering the formula that calculates the duration. When I run the code I get a run-time error 1004.

The macros are activated on open and before close. A attach an extract of my file.

Also, is it possible to have columns B:E hidden without interfering with the log?

Thanks
Costas
 

Attachments

  • Access log.xlsm
    22.7 KB · Views: 5
Thanks Nebu. It works fine.

Is there a way I can make use of MyLogCol instead of hard coding the columns?
 
Back
Top