Currently I use a shell to exeute a program. Before it's done executing and creating the file the next line looks for that file and can't find it.

Can you help

1) Shell "c:\winnt\va.exe c:\" & dateT & "\Fablots.va"

2)Dim MySize
MySize = FileLen("c:\" & dateT & "\Fablots.dat")
If MySize <= 2 Then
MsgBox "No lots were found for the perameters you entered"
End If