Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel to Lock Windows User Account?
Hello,
I am in need of getting Excel to lock the current windows account so as the end user is required to type in their user name and password to regain access to windows. The desired result can not be achived by SendKeys for whatever reason. I need Excel to do the following... Press the Windows Key and L at the same time... any ideas? Thanks! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel to Lock Windows User Account?
Declare Function LockWorkStation Lib "user32.dll" () As Long
Sub a() LockWorkStation End Sub -- Jim wrote in message ups.com... Hello, I am in need of getting Excel to lock the current windows account so as the end user is required to type in their user name and password to regain access to windows. The desired result can not be achived by SendKeys for whatever reason. I need Excel to do the following... Press the Windows Key and L at the same time... any ideas? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
open excel file but lock account | Excel Discussion (Misc queries) | |||
ExcelAddIn - Excel Crashes under User Account - tool to troubleshoot | Excel Discussion (Misc queries) | |||
Windows LOGON NAME - special case - account name different from folder name | Excel Programming | |||
Can a service account be embedded in Workbook so that by default the macros are run with service account credentials and not the user credentials??? | Excel Discussion (Misc queries) | |||
Getting Windows user (Account) from a VBA routine | Excel Programming |