ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   quit excel with macro (https://www.excelbanter.com/excel-programming/272572-re-quit-excel-macro.html)

Don Guillett[_4_]

quit excel with macro
 
You should always post your code for comments.
If you close the workbook where the application.quit is how can it work?
could be the problem.

--
Don Guillett
SalesAid Software
Granite Shoals, TX

"betty" wrote in message
...
I have a workbook with public macro to open another
workbook; paste a value; close the second workbook; write
to a database; save the first workbook; quit excel. I
have tried the appication.quit without success. Is there
another command? Any suggestion is appreciated.





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

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