Queries whether a specified window exists within the SAS session.
True or False based
on whether the specified window is open in the automated SAS session.
If the window exists but is not visible, QueryWindow still returns True.
Dim OleSAS as Object
Set OleSAS = GetObject(,"SAS.Application")
If (Not OleSAS.QueryWindow("build")) Then
OleSAS.Command("build")
EndIf