If you are familiar with python you can use @GavinCrump’s code from here:
the visibility of the excel app is preset to invisible there