I don’t think I’ve ever tried this type of thing so I don’t know if there is built-in functionality for it. That said, without any built-in functionality, my next stop would be to something like the free AutoHotKey tool or another Windows tool that could refocus on Controller after Excel appears.
Hope this helps you get the desired functionality!