Results 1 to 2 of 2

Thread: outlook form attachments

  1. #1

    Thread Starter
    New Member Metaleirodaaldeia's Avatar
    Join Date
    Apr 2005
    Location
    Portugal
    Posts
    1

    outlook form attachments

    I have a outlook form and i need to create a attachment files section anyone can help me??

  2. #2
    Addicted Member
    Join Date
    Jan 2002
    Location
    Glasgow, Scotland
    Posts
    202

    Re: outlook form attachments

    a quick search in outlook help gets this:

    VB Code:
    1. Set myOlApp = CreateObject("Outlook.Application")
    2. Set myItem = myOlApp.CreateItem(olMailItem)
    3. Set myAttachments = myItem.Attachments
    4. myAttachments.Add "C:\My Documents\Q496.xls", _
    5.     olByValue, 1, "4th Quarter 1996 Results Chart"
    if you fail to plan, you plan to fail

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width