F Francesco Jan 15, 2007 #1 Is it possible from a VBA program to automatically shut down the computer at the end of program execution? Thanks Francesco
Is it possible from a VBA program to automatically shut down the computer at the end of program execution? Thanks Francesco
S Stefan Hoffmann Jan 15, 2007 #2 hi Franceso, Is it possible from a VBA program to automatically shut down the computer at the end of program execution? Click to expand... Use Shell and the SHUTDOWN commandline tools. mfG --> stefan <--
hi Franceso, Is it possible from a VBA program to automatically shut down the computer at the end of program execution? Click to expand... Use Shell and the SHUTDOWN commandline tools. mfG --> stefan <--
S Stefan Hoffmann Jan 16, 2007 #3 hi Franceso, Is it possible from a VBA program to automatically shut down the computer at the end of program execution? Click to expand... Use Shell and the SHUTDOWN commandline tools. Public Sub ShutDown() On Local Error GoTo LocalError Shell "SHUTDOWN -s" End Sub mfG --> stefan <--
hi Franceso, Is it possible from a VBA program to automatically shut down the computer at the end of program execution? Click to expand... Use Shell and the SHUTDOWN commandline tools. Public Sub ShutDown() On Local Error GoTo LocalError Shell "SHUTDOWN -s" End Sub mfG --> stefan <--
F Francesco Jan 17, 2007 #4 Thanks, it works! Stefan Hoffmann said: hi Franceso, Use Shell and the SHUTDOWN commandline tools. Public Sub ShutDown() On Local Error GoTo LocalError Shell "SHUTDOWN -s" End Sub mfG --> stefan <-- Click to expand...
Thanks, it works! Stefan Hoffmann said: hi Franceso, Use Shell and the SHUTDOWN commandline tools. Public Sub ShutDown() On Local Error GoTo LocalError Shell "SHUTDOWN -s" End Sub mfG --> stefan <-- Click to expand...