I'm using the code in the subroutine below to open the attachment management dialog box. I have a situation where I want to perform one action if the user attaches a file and another action if the user simply closes the dialog box with the cancel button. How can I capture whether the dialog was closed using the "Cancel" button or not...???
Private Sub btnOpenDocument_Click()
'MyAttachmet is the name of the Attachment control on the form