before close
08.12.2003 10:39:31
alex
ich will die "before close " Funktion nutzen und habe als Test folgendes Macro verwendet.
Sub App_Workbook_BeforeClose(ByVal Wb As Workbook, _
Cancel As Boolean)
a = MsgBox("Do you really want to close the workbook?", _
vbYesNo)
If a = vbNo Then Cancel = True
End Sub
Leider wird das Macro von Excel ignoriert und nicht ausgeführt.
Warum nicht ?