Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone have any suggestions on how to code macro to shut down my PC?
I have a list of code within macro to be run for 3 hours, I would like to add coding at the end of this macro to shut down my PC. Does anyone have any suggestions on how to do it? Thanks in advance for any suggestions Eric |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's one possible method:
http://www.dreamincode.net/code/snippet90.htm HTH, (also) Eric "Eric" wrote: Does anyone have any suggestions on how to code macro to shut down my PC? I have a list of code within macro to be run for 3 hours, I would like to add coding at the end of this macro to shut down my PC. Does anyone have any suggestions on how to do it? Thanks in advance for any suggestions Eric |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Okay, ignore that. I just tried it and it does nothing. Probably a security
issue. Sorry. "EricG" wrote: Here's one possible method: http://www.dreamincode.net/code/snippet90.htm HTH, (also) Eric "Eric" wrote: Does anyone have any suggestions on how to code macro to shut down my PC? I have a list of code within macro to be run for 3 hours, I would like to add coding at the end of this macro to shut down my PC. Does anyone have any suggestions on how to do it? Thanks in advance for any suggestions Eric |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
see if this article is of any help.
http://www.vbaexpress.com/kb/getarticle.php?kb_id=515 -- jb "Eric" wrote: Does anyone have any suggestions on how to code macro to shut down my PC? I have a list of code within macro to be run for 3 hours, I would like to add coding at the end of this macro to shut down my PC. Does anyone have any suggestions on how to do it? Thanks in advance for any suggestions Eric |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a better possibility, with a sample workbook to try out:
http://www.vbaexpress.com/kb/getarticle.php?kb_id=515 "Eric" wrote: Does anyone have any suggestions on how to code macro to shut down my PC? I have a list of code within macro to be run for 3 hours, I would like to add coding at the end of this macro to shut down my PC. Does anyone have any suggestions on how to do it? Thanks in advance for any suggestions Eric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shut off web links? | Excel Discussion (Misc queries) | |||
How to code macro to shut down my computer? | Excel Programming | |||
Trial Period? Can A Macro Shut down a file after 10 days? | Excel Discussion (Misc queries) | |||
Ignoring code to shut a workbook if it is already shut | Excel Discussion (Misc queries) | |||
Shut Down PC | Excel Programming |