Close All Windows Command - doesn't always work This command doesn't always work. Especially if a dialog box is open on a webpage.
I run 10 macros in a batch. At the end of each one I have a 'close all windows' command. However if one of the macros is accessing a webpage and is entering pre-populated information too quickly (as quite often happens - ie a phone number entered by macro pro as 999-999-123 instead of 999-999-1234) the webpage will produce a popup dialog box stating something like 'you have entered the phone # in an incorrect format'.
This shouldn't be a problem, if my main objective here is to flow to the next macro, because I have a 'close all windows' command to clean everything up for the next macro.
However, the command doesn't close these dialog boxes all the time, and therefore it messes up all of the remaining macros in the batch beacuse they don't start cleanly with the open dialog box in their way. |