Computer lock time

J

Jacob Skaria

Within excel there is no event to track this; but you can probably lock your
computer from VBA using

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rundll32 user32.dll,LockWorkStation"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top