Microsoft Outlook 2003 is a very capable email application with programmatic access to many of its features. The one thing it does lack is simplicity in exposing the volume of libraries and objects available, especially when your objective is something that would otherwise be simple enough to achieve either with the Menus or manually within the system. This article details an example of toggling alternating views to enable and disable in-cell editing within the messages listing.
The easy way would be to add a new "view" that has the options you want to apply and then write a macro that alternates setting THIS VIEW. To do this, follow the instructions below.
In the menus, select...
Next, open the code editor (ALT+F11) and add the following procedure:
Then, with the inbox selected (so it propagates to the other folders) add a button to the toolbar to run the macro, changing the view of the button to whatever you like.
Clicking the button will now toggle the views between the Messages and Messages+Cells views.
Shawn K. Hall
Shawn K. Hall is a homeschool dad and a security consultant providing solutions for local businesses in the Tuolumne County, CA area. He owns and operates 12 Point Design, a professional web development company, providing hosting and security solutions in addition to website creations and maintenance. In his "spare time" Mr. Hall is also very active in many online forums where he freely gives of his time and talents to assist struggling web developers.
Contact our Marketing department for information about advertising on this domain.