PDA

View Full Version : How to capture the lock time and event of System by vba?



ratanbhushan
02-13-2017, 11:55 PM
18363Hi Team

I have found code on few websites and trying to create the Macro in which I can capture the time and event of the lock and unlock of system.

I am attaching the file in which I am running macro for 60 seconds in which I locked and unlocked the system but the macro is only capturing "Unlocked" event.

Please help and check.

Thanks
RatanB

alam.john007
04-04-2019, 04:12 AM
18363Hi Team

I have found code on few websites and trying to create the Macro in which I can capture the time and event of the lock and unlock of system.

I am attaching the file in which I am running macro for 60 seconds in which I locked and unlocked the system but the macro is only capturing "Unlocked" event.

Please help and check.

Thanks
RatanB