Outlook View Control - Changing the Calender View programatically

  • Thread starter Thread starter Ryan Hubbard
  • Start date Start date
R

Ryan Hubbard

I cannot seem to change the view on a Outlook View control. I would
like to change it via Javascript or VBScript (Control is in a
homepage) to the day, week, work week or month view depending on a
selection. How would I go about doing this? Thanks
 
If this is in a folder home page for the folder that you're displaying in
the OVC, one way would be to use CommandBars to execute the day, week, etc.
command from the toolbar; see
http://www.outlookcode.com/d/tips/commandbarfun.htm . If you're using
Outlook 2002 or later, you should also be able to modify the XML for the
view using the ViewXML property -- check it out with the different day,
week, etc. views to see what changes.
 
Back
Top