Excel to log name, date and time somebody accessed a report on a network drive....

LittlegmoonBH

New Member
Joined
May 2, 2019
Messages
15
Hi,

I’m looking for help logging in Excel, using VBA to log in ahidden sheet the username, date and time logged in and logged out of reports inshared locations.

I know a solution exists because I’ve used one before, but Ican’t for the life of me remember how I did it…

Does anybody have anything they could share? This isbasically for me to monitor how frequently reports produced are used, and bywho.

Thanks in advance for your help!

 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi Rijnsent,

Thanks for the response! I’ve tried this and it doesn’t work. It workedonce, but it’s not re-writing the 1st row over and over.
 
Upvote 0
Hi LittlegmoonBH,
that macro runs every time the user opens the file. The only catch: the data is written to the log-sheet, but if the user doesn't save the file, the new line is not there anymore the next time you open the file. Plus: the user has to allow macros to log it, if they block macros it won't work.
Koen
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top