Originally posted by maxj: Hi DianaPD,
One way i found (which is prpobably very long winded) was to use Window("[window name]").close
Hope this helps........ Merry Xmas
<font size="2" face="Verdana, Arial, Helvetica">Hi Maxj,
I tried that but it closes the window only if the window is present in the object repository. Again if it is present in the repository the it closes the window and reopens it. I wanted a solution to write a function that would close all windows open on the task bar other than QTP.