ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   close window trapping (https://www.excelbanter.com/excel-programming/286129-close-window-trapping.html)

Yury Lobanov

close window trapping
 
I suppose this question sounded here many times.
But i don't know how to find in old news articles.

The question is:

How to catch window closing in excel 2000.
There is only "WindowDeactivate" Event.

Thanks, Yury



pikus

close window trapping
 
There's this:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

End Su

--
Message posted from http://www.ExcelForum.com


Yury Lobanov

close window trapping
 
"Workbook_BeforeClose" doesn't fit
I have some windows of a workbook and want to catch window closing, not
workbook's


"pikus" сообщил/сообщила в новостях
следующее: ...
There's this:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

End Sub


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 04:13 PM.

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