Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi there Is there a vba code to shut Down PC ? :( Thank u -- helmekki ------------------------------------------------------------------------ helmekki's Profile: http://www.excelforum.com/member.php...fo&userid=6939 View this thread: http://www.excelforum.com/showthread...hreadid=507743 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello Hesham, Here is an API routine that calls the shutdown dialog. Public Declare Function SHShutDownDialog _ Lib "shell32.dll" _ Alias "#60" _ (ByVal Display As Long) As Long To invoke the Shutdown Dialog: RetVal = SHShutDownDialog(0&) Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=507743 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thank u v much :) How can make the shutDown triggered by the code it self without the user interferance...........? -- helmekki ------------------------------------------------------------------------ helmekki's Profile: http://www.excelforum.com/member.php...fo&userid=6939 View this thread: http://www.excelforum.com/showthread...hreadid=507743 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Private Sub UserForm_Initialize() call Shtdown end sub ???? -- gti_jobert ------------------------------------------------------------------------ gti_jobert's Profile: http://www.excelforum.com/member.php...o&userid=30634 View this thread: http://www.excelforum.com/showthread...hreadid=507743 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shut off / disable a constant? | Excel Discussion (Misc queries) | |||
Shut off web links? | Excel Discussion (Misc queries) | |||
Ignoring code to shut a workbook if it is already shut | Excel Discussion (Misc queries) | |||
GETPIVOTDATA -- How do I shut it OFF! | Excel Worksheet Functions | |||
Shut down excel | Excel Discussion (Misc queries) |