How to get meeting timing from outlook calendar for a particular day?
3 views (last 30 days)
Show older comments
I want to write a script which will give user all the meetings scheduled for a particular day!
h = actxserver('outlook.Application')
namespace = h.GetNamespace('MAPI');
Calendars = namespace.GetDefaultFolder('olFolderCalendar')
0 Comments
Answers (1)
ES
on 10 May 2018
Edited: per isakson
on 11 May 2018
You may use
Calendars.Items.GetFirst,
Calendars.Items.GetNext,
Calendars.Items.GetLast
etc.
Example:
>> Calendars.Items.GetLast.Duration
ans =
120
>> Calendars.Items.GetLast.Start
ans =
9/20/2016 10:30:00 AM
>> Calendars.Items.GetLast.End
ans =
9/20/2016 12:30:00 PM
2 Comments
See Also
Categories
Find more on Calendar in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!