I have a VBA code that changes the focus to another OS window. Is it possible to tell VBA to run a different code when the focus returns to Excel? I don't want VBA to force the focus back, it should wait patiently, but as soon as I give it back the focus, a different code should execute.
Thank you.
Thank you.