I know how to run a procedure when a Worksheet is activated . . .
in the Worksheet code:
Private Sub Worksheet_Activate()
    [Some code]
End Sub
But how can I run a procedure when a Workbook is activated ?
I would also like to run a procedure when the Workbook is de-activated (loses focus) but I am not sure that’s possible – I can cope without that.
Thanks, Martin