Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO ATTACH AUTOMATICALLY FILES TO E-MAILS

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I am developing a system for a group of users,
with Visual Basic 6 and Microsoft Office 2000.
There are daily transmissions of files between the users,
making use of e-mail’s attachs.
I need to find the way of automatically attach these files to the
e-mails.
I found several articles which explain how this is programmed using
Microsoft Outlook 98, but these don’t work with Microsoft Outlook 2000.
Could you help me?

Thanks for your ideas.
Best regards,
Leon
 
Try This

Set OL = GetObject(, "Outlook.Application")
Set OL_Mail = OL.CreateItem(0)
OL_Mail.Attachments.Add (filename)


Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top