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

Macro code for "F11" key



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 6th 06, 08:25 PM posted to microsoft.public.outlook.program_vba
Colin Coady
external usenet poster
 
Posts: 13
Default Macro code for "F11" key

What would the macro code be to simulate pressing the "F11" key. I'm planning
on assiging the macro a tool bar button so I can click the button instead of
pressing the "F11" key.
Any help would be appreciated - thanks.
  #2  
Old November 6th 06, 09:16 PM posted to microsoft.public.outlook.program_vba
Colin Coady
external usenet poster
 
Posts: 13
Default Macro code for "F11" key

Got it after looking for awhile

Sub Spellcheck()
SendKeys "{F11}"
End Sub


"Colin Coady" wrote:

What would the macro code be to simulate pressing the "F11" key. I'm planning
on assiging the macro a tool bar button so I can click the button instead of
pressing the "F11" key.
Any help would be appreciated - thanks.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost "Current User\Identities" Registry key - how to get back ? Steve Cochran Outlook Express 0 September 27th 06 06:12 PM
macro to extract subject line and "paste" in advanced search stef Outlook and VBA 2 August 21st 06 12:24 AM
macro to extract subject line and "paste" in advanced search stef Add-ins for Outlook 0 August 2nd 06 05:21 PM
"tab key" KC1 Outlook - General Queries 1 April 16th 06 03:29 PM
"You have not entered a Valid Product Key". Sandra Outlook - Installation 0 March 8th 06 08:38 PM


All times are GMT +1. The time now is 09:14 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.