Hello,

I've written a macro wich first protects the worksheet with a password and then closes the workbook.

I want other users to use this macro and not be able to close the workbook with CTR-F4 or by clicking on the cross on the right top corner.

Does anyone know how to disable these options or better, how to connect these to my macro?

Greetings,
Edcel.