Thread: Alt+F1
View Single Post
  #4  
Old November 5th 08, 04:24 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Alt+F1

So you've moved from Outlook 2003 to Outlook 2007? In Outlook 2007 Alt+F1
shuts the navigation pane off. In Outlook 2003 it toggles between off and
on. In Outlook 2007 you have Normal, Minimized and Off so you'd need 3 macro
buttons to cover all the settings, or 2 for just Normal and Off.

It would be a lot easier now that I know what you're trying to achieve to
just use the Customize menu to add one or more of those commands directly to
a toolbar and no code is needed.

Right-click on the menu bar and select Customize. Select the Commands tab
and select View in the Categories list, in the Commands list select the
Normal, Minimized and/or Off commands under Navigation Pane and drag the
commands you desire to where you want them on a toolbar to add them
directly.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Larry S" wrote in message
...
OK. Well, what i'm looking to do is write a macro that will turn the
navigation pane on and off. Alt+F1 does that, that's why i was looking to
use
that in a macro. I added the navigation pane button to a toolbar, but the
problem is that it's a flyout, so i have to choose Normal, Minimized or
Off.
On my previous computer that button just toggled the navigation pane on
and
off. That's what i'm looking to duplicate. Any suggestions?


Ads