excel sheet can't be activate after runing macro code example Example: SRun macro when worklsheet is activated Private Sub Worksheet_Activate() End Sub