PDA

View Full Version : Cannot find the file on calling Application_ItemSend



thuizt
08-10-2016, 03:52 AM
Hello,

We use a small macro that saves send e-mails to a file location. This macro calls Application_ItemSend and excutes the code. When executing all is fine.

On irregular basis an error message pops-up "Cannot find the file" without specifying which file it is.
Running in debug mode and putting a break on the first line of code shows that it cannot execute the code. By pressing F8 (Step) the same error pops-up but the debug does NOT go to the next line of code.

Running Procmon to detect any missing / inaccessible file returns nothing so far.

Currently no idea how to solve this "black box" issue.

Any help greatly appreciated.

gmayor
08-10-2016, 04:54 AM
Post the code.