ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   closing Excel in VBA (https://www.excelbanter.com/excel-programming/294383-closing-excel-vba.html)

Jeff[_29_]

closing Excel in VBA
 
What's the proper way to close Excel after you've opened a workbook in VBA?
I tried excel.application.quit and set ex = nothing but Excel continues to
run in the background. None of the books I looked at helped. I even copied
code from a few books, and found that Excel still ran in the background even
with their published code.

Jeff



Lawlera

closing Excel in VBA
 
Application.qui

...works for me!


All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com