![]() |
Auto-Attach
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? |
Auto-Attach
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 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "HelpMeSue!" u34098@uwe wrote in message news:72020bc876896@uwe... 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? |
All times are GMT +1. The time now is 08:21 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com