Consulting

Results 1 to 2 of 2

Thread: Saving Calendar Item as mail attachment

  1. #1

    Saving Calendar Item as mail attachment

    I have used the following code to create a mail message attachment:
    [VBA]
    Set objAttach = Application.CreateItem(olAppointmentItem)
    With objAttach
    .Start = xStart
    .End = xEnd
    .Subject = xConfName & " Conference Call Instructions"
    .ReminderMinutesBeforeStart = 15
    .AllDayEvent = False
    .Body = xMsg
    .Save
    End With
    Set objAttachment = objItem.Attachments.Add(objAttach, olByVal, , "Conference Call ")
    [/VBA]However, the Calendar item saves to the calendar of the person generating the email too. I want it to save as an attachment to the outgoing email only.

    Thank you.

  2. #2

    Duh!

    Just used a MyItem.delete

Posting Permissions

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