Toolbar button to evoke a custom view ?

  • Thread starter Thread starter kmacdowe
  • Start date Start date
K

kmacdowe

Outlook Experts, do you know if is it possible to add a button to a
toolbar which would evoke a custom view ?

For example, I created a view which only shows email from "John" and
called the view "FromJohn". Is there a way I can have a toolbar button
named "FromJohn" that when clicked would evoke that view (i.e. only
show emails from John)?

I know I can use the Current View pulldown menu but I have dozens of
customized views. I would like a simple button for convenience.
 
That's one of the simpler things you can do with Outlook VBA. Try a macro like this:

Sub ViewFromJohn()
Application.ActiveExplorer.CurrentView = "FromJohn"
End Sub
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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

Back
Top