Outlook Macro to show Flagged messages

Victor Delta

Senior Member
Outlook version
Outlook 2003
Email Account
POP3
#1
Hi

I wonder if anyone can help me with an Outlook macro please (I'm using Outlook 2003 by the way)?

I have a view called Flagged Messages which is defined to filter my Inbox and show only the emails which have a coloured flag - so I can focus on working on these. It is somewhat cumbersome going through the menus to get to this view and then back again to the 'all messages' view so I wondered if it would be possible to have a button which controls a macro that can, ideally, toggle between the two views (if not, then two buttons to select the two views). I've googled about this but can't find anything which seems to do this.

Any ideas on this would be much appreciated.
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
#2
I don´t remember if Outlook 2003 already exposed the View object. Check it, please: Open the objet browser (alt+f11), select Explorer left hand and see of it has the property 'CurrentView' available in the window right hand. If so, you can press f1; the help file contains a sample for changing the current view.
 
Top