I'm using the send keys funtion to send a workbook attachment from excel through Outlook. I want to loop until the message is sent. This is what i have for that part, but it doesn't work...I can't figure out how to tell vba that the message was sent. Any help is greatly appreciated.
Code
Do Until Windows(Subj & " - Message").Close = True
Application.Wait (Now + TimeValue("0:00:01"))
Application.SendKeys "%s"
Loop
Thanks,
Jason