Thank you very much, I really admire your programming level. 
Now there is a problem,
all the child windows will close after 20 seconds, but I want to set the wait time for each open window separately.
How to change the code
Macro wait

Now there is a problem,
all the child windows will close after 20 seconds, but I want to set the wait time for each open window separately.
How to change the code
Macro wait
