Auto-Attach

  • Thread starter Thread starter HelpMeSue!
  • Start date Start date
H

HelpMeSue!

I am trying to write a subroutine that automatically attaches a files of
varying type (.zip, .xls, ...) from varying locations (C:\My Documents, C:\My
Pictures, ...) to some Outlook forms that I've created. I think this would
be best accomplished with a command button on the compose page of the form.
I'm also pretty sure that this would require a message field in the form to
work properly. Any ideas?
 
Have you looked at the MailItem.Attachments.Add method? That's what you use to attach a file programmatically.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top