Was steht in "attachment_directory"? Mal ins Blaue: strFile = attachment_directory & "\" & otlAtt.FileName
Edit:
Nimm mal "On Error Resume Next" raus. Und am Anfang des Moduls die Anweisung Option Explicit setzen. Dann wirst Du sehen wo die Probleme liegen könnten. "attachment_directory" ist nicht deklariert, und somit leer.
Edit:
Nimm mal "On Error Resume Next" raus. Und am Anfang des Moduls die Anweisung Option Explicit setzen. Dann wirst Du sehen wo die Probleme liegen könnten. "attachment_directory" ist nicht deklariert, und somit leer.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „mumpel“ ()