View Single Post
  #1  
Old March 8th 06, 02:02 PM posted to microsoft.public.outlook.program_vba
Ian Mackenzie
external usenet poster
 
Posts: 10
Default Get Appointment Fields

Hi Guys... I get errors when I try access any of the following fields in the
calendar folder...
Other like the subject and body etc... work fine.

**Method 'Duration' not supported by automation object.

What can I do????

Thanks Ian
--------------------------------------------
var
outlookItem : OLEVariant;
count : integer;
begin
for count := 1 to currentFolder.items.count do
begin
outlookItem := currentFolder.items[count];

with dCalendar do
begin
Append;
outlookItem.allDayEvent;
outlookItem.Duration;
outlookItem.Location;
Post;


Ads