T
Tanya
I am creating simple mail using Microsoft.Office.Interop.Outlook. I do not
want to attach file in the code - I need simple mail without any attach. Mail
is successfully created and opened, but after this button 'Attach File' does
not work (it could be clicked, file could be selected but it is not
attached). Here is simple code:
Dim Outlook As New Outlook.Application
Dim OutlookMessage As Outlook.MailItem
OutlookMessage = Outlook.CreateItem(OlItemType.olMailItem)
OutlookMessage.Display()
I am using Outlook 2007.
Could anyone help me with this?
want to attach file in the code - I need simple mail without any attach. Mail
is successfully created and opened, but after this button 'Attach File' does
not work (it could be clicked, file could be selected but it is not
attached). Here is simple code:
Dim Outlook As New Outlook.Application
Dim OutlookMessage As Outlook.MailItem
OutlookMessage = Outlook.CreateItem(OlItemType.olMailItem)
OutlookMessage.Display()
I am using Outlook 2007.
Could anyone help me with this?