I'm confused: You asked about a VBA *and* custom forms. The code behind a custom form is VBScript, not VBA.
But more important is -- to whom are you sending these messages that you create from a custom form? Is it only to people inside your organization? If not, then you may need to rethink this scenario.
--
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
"prt75 via OfficeKB.com" u34098@uwe wrote in message news:7226ee2160317@uwe...
Does anyone out there know a good VBA reference for automatically adding
attachments to custom forms? All I want to do is write a script that will
grab a file (whose name constantly changes with the date) from a folder
(whose name also changes with the date) - so that a user can just open the
form, see that the correct attachments are there, and click "send".
I have to send these attachments daily and its a real pain. All I know is
that I need a message field for the code to work. Anybody?