(Reading time: 1 minute)

Excel

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


Example

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

Chillzee Tag Cloud

About Chillzee

Chillzee.com is an entrepreneurship portal.

The site provides informative topics on Organizational and Strategic needs.