Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I was using the line below at the end of my code and all was well. Until
someone had other Excel workbooks open (besides the one I had created) and the code ran doing what it was supposed to do and closed excel completely. I do want the Excel to close down, but only if my workbook is the only workbook open. So is there any way to amend what I have to check for other open workbooks, and if there are any open the just close my workbook only? Application.Quit |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to make excel 2007 open 2 wokbooks in 2 different windows | Excel Discussion (Misc queries) | |||
If Then to check if a workbook is open | Excel Discussion (Misc queries) | |||
How check if workbook open? | Excel Programming | |||
Check for open workbook | Excel Programming | |||
How do I check opened wokbooks? | Excel Programming |