Using CalendarView

  • Thread starter Thread starter DENNIS BROWN
  • Start date Start date
D

DENNIS BROWN

Is there something special I need to do to use CalendarView in 2007? I can't seem to get it to get assigned with
oOutlook.Application.ActiveExplorer.CalendarView
when oOutlook has been assigned to the Outlook object.
I can use oOutlook to get other objects using ActiveExplorer, but not the CalendarView.
Is there something I have to do first? Is it just for custom views?
 
Have you looked at the Help for that? It shows how to get a CalendarView
object in the sample code.

If oOutlook.ActiveExplorer.CurrentView.ViewType = olCalendarView Then
Set oCalendarView = oOutlook.ActiveExplorer.CurrentView




Is there something special I need to do to use CalendarView in 2007? I
can't seem to get it to get assigned with
oOutlook.Application.ActiveExplorer.CalendarView
when oOutlook has been assigned to the Outlook object.
I can use oOutlook to get other objects using ActiveExplorer, but not the
CalendarView.
Is there something I have to do first? Is it just for custom views?
 
So then, can I use oCalendarView.DisplayedDates, and the other methods under CalendarView object?

--

Thanks,
Dennis
Have you looked at the Help for that? It shows how to get a CalendarView object in the sample code.

If oOutlook.ActiveExplorer.CurrentView.ViewType = olCalendarView Then
Set oCalendarView = oOutlook.ActiveExplorer.CurrentView

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


Is there something special I need to do to use CalendarView in 2007? I can't seem to get it to get assigned with
oOutlook.Application.ActiveExplorer.CalendarView
when oOutlook has been assigned to the Outlook object.
I can use oOutlook to get other objects using ActiveExplorer, but not the CalendarView.
Is there something I have to do first? Is it just for custom views?
 
Some of those things are currently broken, like DisplayedDates and
CalendarViewMode. You might have to wait and see if they are fixed when
Outlook 2007 SP1 comes out. You'll have to test on a method by method and
property by property basis to see what's currently working for you.




So then, can I use oCalendarView.DisplayedDates, and the other methods
under CalendarView object?
 
Thanks. That explains a lot!

--

Thanks,
Dennis
Some of those things are currently broken, like DisplayedDates and CalendarViewMode. You might have to wait and see if they are fixed when Outlook 2007 SP1 comes out. You'll have to test on a method by method and property by property basis to see what's currently working for you.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


So then, can I use oCalendarView.DisplayedDates, and the other methods under CalendarView object?
 
Back
Top