View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Curt Curt is offline
external usenet poster
 
Posts: 469
Default beforeclose placement

Does the placement of the beforeclose have any bearing on operation. It has a
few times failed this is why I ask following is my placement. Does it need to
be last?
Thanks

Option Explicit
---------
Private Sub Workbook_BeforeClose(Cancel As Boolean)
ThisWorkbook.Save
End Sub
----------
Private Sub Workbook_open()
Userform1.Show
End Sub