Skip to main content
Docs
Application.ActiveWindow property
Returns a Window object that represents the active Excel window (the window on top). Returns Nothing if there are no windows open. […]