A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Alt+F1



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 4th 08, 08:54 PM posted to microsoft.public.outlook.program_vba
Larry S
external usenet poster
 
Posts: 5
Default Alt+F1

How do i write a macro for the keystroke Alt+F! ?

Larry
Ads
  #2  
Old November 4th 08, 09:48 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Alt+F1

You can't. You can assign a macro to a toolbar button and give it a hot key
of Alt + letter, but not F1 or any other function key.

--
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
...
How do i write a macro for the keystroke Alt+F! ?

Larry


  #3  
Old November 5th 08, 04:04 PM posted to microsoft.public.outlook.program_vba
Larry S
external usenet poster
 
Posts: 5
Default Alt+F1

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?

"Ken Slovak - [MVP - Outlook]" wrote:

You can't. You can assign a macro to a toolbar button and give it a hot key
of Alt + letter, but not F1 or any other function key.

--
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
...
How do i write a macro for the keystroke Alt+F! ?

Larry



  #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?


  #5  
Old November 5th 08, 05:06 PM posted to microsoft.public.outlook.program_vba
Larry S
external usenet poster
 
Posts: 5
Default Alt+F1

yeah, i did that. i just can't leave well enough alone. maybe i have ocd, but
i like just one button that simply says "Navigation Pane" to toggle on/off.
if that's not workable guess i'll just have to live with it, and maybe even
seek some counseling. btw, my previous computer was outlook 2007, although it
was an upgrade from 2003.

"Ken Slovak - [MVP - Outlook]" wrote:

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?



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.