Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've been able to use the scheduler to start a worksheet and automatically
run a macro (thanks to Tom Ogilvy), however I still can't get the spreadsheet and Excel to close and quit. What am I missing? Thanks again |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi buckle
ThisWorkbook.Close False ' save and close the file ThisWorkbook.Close True ' close the file without saving Application.Quit ' close Excel -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "buckle" wrote in message news:3f414bb9$1@nubby2.... I've been able to use the scheduler to start a worksheet and automatically run a macro (thanks to Tom Ogilvy), however I still can't get the spreadsheet and Excel to close and quit. What am I missing? Thanks again |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Ron,
I inserted: ThisWorkbook.Close False Application.Quit - in the macro and the workbook closes, but Excel stays open? Do I need something more? Thanks again "Ron de Bruin" wrote in message ... Hi buckle ThisWorkbook.Close False ' save and close the file ThisWorkbook.Close True ' close the file without saving Application.Quit ' close Excel -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "buckle" wrote in message news:3f414bb9$1@nubby2.... I've been able to use the scheduler to start a worksheet and automatically run a macro (thanks to Tom Ogilvy), however I still can't get the spreadsheet and Excel to close and quit. What am I missing? Thanks again |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
*shrug* Who knows?
Have you tried : Application.Quit? -- Greeting from the Gulf Coast! http://myweb.cableone.net/twodays "buckle" wrote in message news:3f414bb9$1@nubby2.... I've been able to use the scheduler to start a worksheet and automatically run a macro (thanks to Tom Ogilvy), however I still can't get the spreadsheet and Excel to close and quit. What am I missing? Thanks again |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto-Close | Excel Discussion (Misc queries) | |||
auto close workbook | Excel Discussion (Misc queries) | |||
Auto save and close | Excel Worksheet Functions | |||
Auto close userform | Excel Discussion (Misc queries) | |||
auto close userform | Excel Discussion (Misc queries) |