Public Function TerminNachOutlook(dtStart As String, intDauer As Integer, _
strBetreff As String, strKommentar As String, bolErinnerung As Boolean, _
strErinnerungMinuten As Integer) As Boolean
On Error GoTo FehlerBehandlung
Dim oOutlookApp As Outlook.Application
Dim oOutlookTermin As Outlook.AppointmentItem
dtStart = Format(dtStart, "dd.mm.yyyy") & " 10:00"
Set oOutlookApp = CreateObject("Outlook.Application")
Set oOutlookTermin = oOutlookApp.CreateItem(olAppointmentItem)
With oOutlookTermin
.Start = dtStart
.Duration = intDauer
.Subject = strBetreff
.Body = strKommentar
.ReminderSet = bolErinnerung
.ReminderMinutesBeforeStart = intErinnerung
.Save
End With
Set oOutlookTermin = Nothing
Set oOutlookApp = Nothing
Exit Function
FehlerBehandlung:
MsgBox Err.Description
End Function
Outlook Termine in Excel
cox 13.09.2007 - 236 Hits - 2 Antworten
Termine im Outlook-Kalender fett anzeigen?
snoop07 07.09.2007 - 99 Hits -
Outlook Kalender beim Jahreswechsel
Sylt 31.12.2007 - 127 Hits - 1 Antwort
Termine von ... bis .... löschen/verschieben in outlook 2003
har 22.02.2008 - 117 Hits - 10 Antworten
Termine in Outlook neu sortieren
brs 14.06.2008 - 50 Hits -