Outlook View Control - Changing the Calender View programatically

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
 
S

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top