I have a workbook with two buttons and some double-click event code that used to work.

Now clicking on the buttons does nothing and the double-click code has also stopped working.

There are no error messages. It is as if the VBA was not there.

I don't think there is a problem with the VBA as this has not changed since it worked. I don't want to go back to the version from a month ago (in which the same VBA works) because I have done a LOT of work on the workbook since then.

Is there a switch somewhere which turns VBA on/off? (NB macros are enabled)