Una famiglia di sistemi di gestione per database relazionali di Microsoft progettati per semplificare l'uso.
Prova questo metodo per inoltrare un appuntamento come allegato.
Private Sub Test()
Dim olApp As Outlook.Application
Set olApp = CreateObject("outlook.Application")
Set olAppt = olApp.CreateItem(olAppointmentItem)
With olAppt
'Define calendar item properties
.Start = Now()
.End = Now()
.Subject = "Hello " & Time
' . Location = "me"
.Body = "Take care of this ASAP"
.BusyStatus = olBusy
.ReminderMinutesBeforeStart = 15
.ReminderSet = True
.Categories = "Needs attention"
End With
Set objMsg = olAppt.ForwardAsVcal
With objMsg
.To = "****@here.com"**
.Subject = "This is the subject"
.Body = "My notes"
.Display
End With
End Sub