F
Flannel
I'm trying to create a macro that I can assign to a button
that would attach a certain file to the e-mail. Here's
what I have:
Dim oApp As Outlook.Application
Dim oItem As Outlook.MailItem
Set oApp = CreateObject("Outlook.Application")
Set oItem = oApp.CreateItem(Outlook.OlItemType.olMailItem)
oItem.Attachments.Add "c:\easy.xls"
After picking the button I get a hourglass for a couple of
seconds, but no attachment (no errors either). Any help
would be apprectiated. Thank you.
that would attach a certain file to the e-mail. Here's
what I have:
Dim oApp As Outlook.Application
Dim oItem As Outlook.MailItem
Set oApp = CreateObject("Outlook.Application")
Set oItem = oApp.CreateItem(Outlook.OlItemType.olMailItem)
oItem.Attachments.Add "c:\easy.xls"
After picking the button I get a hourglass for a couple of
seconds, but no attachment (no errors either). Any help
would be apprectiated. Thank you.