Any ideas on how to make a function wait on another function before it begins? I have a function that runs a batch file; the file takes around 5 minutes to run. The next function has to apply a filter on the resulting text file of the batch file. The filter applies too soon and sees that there is nothing to apply the filter to so the program ends. Here's some code:
VB Code:
Private Sub runBatch() Shell ("INVENTORY_FTP.bat") 'Need to wait 5 minutes here End Sub
