View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Phil Greenwood Phil Greenwood is offline
external usenet poster
 
Posts: 1
Default VBA to ShutDown PC

Could someone point me at some VBA to shut down a local PC
after a certain time. I'm okay with the Application.OnTime
method. And I've found the C code for the "ExitWindowsEx"
function but I'm afraid it's beyond me to convert to VBA.

All help welcome - Thanks - Phil