D
D. Lindner
Hello NG,
I have a problem with the export of Outlook-appointments to an
Excel-file. To export the recurring appointments correctly I have to
"extract" the number of occurrences of an recurring appointment-item
with the "ActualOccurrences =
myNameSpace.GetSharedDefaultFolder(UserName,
olFolderCalendar).Items(i).GetRecurrencePattern.Occurrences" command.
(I have splitted this into some smaller variables like "set MyCalendar
= myNameSpace.GetSharedDefaultFolder(UserName, olFolderCalendar)" and
so on.)
But the occurrence given differs sometimes (I didn't find out when or
how) to the right number of occurrences. But IF the difference occurs,
the retrieved number of occurrences every time is 10.
The occurrences are shown right
- in the calendar
- if I open the Item in Outlook and view the tab where the recurrences
are given
- if want to export the item under another user which is a recipient
(meeting)
For example:
Meeting between persons X and Y occurs z times.
- Context X returns
- Calendar: z
- Item in Outlook: z
- exporting: 10 (WRONG!)
- Context Y returns
- Calendar: z
- Item in Outlook: z
- exporting: z
Thanks in advance,
D. Lindner
I have a problem with the export of Outlook-appointments to an
Excel-file. To export the recurring appointments correctly I have to
"extract" the number of occurrences of an recurring appointment-item
with the "ActualOccurrences =
myNameSpace.GetSharedDefaultFolder(UserName,
olFolderCalendar).Items(i).GetRecurrencePattern.Occurrences" command.
(I have splitted this into some smaller variables like "set MyCalendar
= myNameSpace.GetSharedDefaultFolder(UserName, olFolderCalendar)" and
so on.)
But the occurrence given differs sometimes (I didn't find out when or
how) to the right number of occurrences. But IF the difference occurs,
the retrieved number of occurrences every time is 10.
The occurrences are shown right
- in the calendar
- if I open the Item in Outlook and view the tab where the recurrences
are given
- if want to export the item under another user which is a recipient
(meeting)
For example:
Meeting between persons X and Y occurs z times.
- Context X returns
- Calendar: z
- Item in Outlook: z
- exporting: 10 (WRONG!)
- Context Y returns
- Calendar: z
- Item in Outlook: z
- exporting: z
Thanks in advance,
D. Lindner