Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / August 2004

Tip: Looking for answers? Try searching our database.

Outlook View Control - Changing the Calender View programatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ryan Hubbard - 08 Jul 2004 19:40 GMT
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
Sue Mosher [MVP-Outlook] - 07 Aug 2004 22:20 GMT
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.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.