Activate / Inactivate Sub Analysis Code