Save Attachment through VB code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I save an email attachment through the use of VB code? I would like
to save it to a file on my desktop. But, I can't seem to get things to work.
Does anyone have something likes this set up? ....is it possible?
 
Take a look at the Attachment.SaveAsFile method. Most of the problems I see
are related to non-allowed characters in the name used to save the file.
 
My code saves excel attachments, but instead of saving a .txt attachment, it
saves the whole email as an outlook object.....???????
 
Show a sufficient code snippet.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top