Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Please tell me what i'm doing wrong, i want the entire excel document to
close?? Call Application.OnTime(Now + TimeValue("00:00:15"), "ThisWorkbook.Auto_Close") Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You have the solution at your other post.
Neil Holden wrote: Please tell me what i'm doing wrong, i want the entire excel document to close?? Call Application.OnTime(Now + TimeValue("00:00:15"), "ThisWorkbook.Auto_Close") Thanks. -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Don't know what the Auto_Close is about but this works...
Public Sub Test_Me() On Error Resume Next Application.OnTime Now + TimeValue("00:00:15"), "CloseMe" End Sub Public Sub CloseMe() Application.ActiveWorkbook.Close End Sub where the CloseMe( ) procedure is in a standard module -- Hope this helps. If it does, please click the Yes button. Thanks in advance for your feedback. Gary Brown "Neil Holden" wrote: Please tell me what i'm doing wrong, i want the entire excel document to close?? Call Application.OnTime(Now + TimeValue("00:00:15"), "ThisWorkbook.Auto_Close") Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 + macro | Excel Discussion (Misc queries) | |||
Excel 2003 Macro | Excel Discussion (Misc queries) | |||
how to run acces 2003 macro in excell 2003 macro | Excel Discussion (Misc queries) | |||
Macro - Help Please Excel 2003 | Excel Discussion (Misc queries) | |||
Help with a Macro - Excel 2003 | Excel Worksheet Functions |