>>I have an asp page that is writing an excel file that is subsequently being attached to some emails. As it stands, the file gets attached, but is empty since the save has not completed. How can I make sure that the save is complete prior to the email loop?
>
>You may use an approach such as this:
>
>
>llExist=oFSO.FileExists(Server.MapPath("Page.asp"))
>
Great, thanks. BTW, it turned out, the problem lies in mail and not in file creation...
If it's not broken, fix it until it is.
My Blog