(Reading time: 1 minute)


Beforeclose even is useful for running customized code before closing an excel file.


Private Sub Workbook_Beforeclose(Cancel As Boolean)
    msgbox "Yes I am closing now"
End Sub

Author: Oxygen
Other articles by this author

Chillzee Tag Cloud

Let's Socialize

About Chillzee

Chillzee.com is an entrepreneurship portal.

The site provides informative topics on Organizational and Strategic needs.