In my program I'm calling a sub routine in order to download a couple of files which can take some time. My program should not proceed until every file has been fully downloaded. Is there an effective way to 'pause' the current activity until the sub routine has reached 'end sub'?