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

Tags: ,

Macro Creation





 
 
Thread Tools Display Modes
  #1  
Old February 1st 06, 03:00 PM posted to microsoft.public.outlook.program_vba
Jim Patterson
external usenet poster
 
Posts: 1
Default Macro Creation

Is there a way to create a macro that will automatically recognize a
highlighted word in an Outlook message, copy it, go to Wikipedia. com, paste
the word into the search box, and click enter?

Thanks in Advance,
--
Jim Patterson
Ads
  #2  
Old February 1st 06, 05:23 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 810
Default Macro Creation

Not *automatically*. It's possible by trapping the WindowSelectionChange
event in Word - IF you use Word as your e-mail editor and you trap the
Insepctors.NewInspector event to instantiate the Word.Application object.

Otherwise, you need to use the SafeInspector object in Redemption
(http://www.dimastr.com) to determine what is selected - but only via some
other action (send an e-mail, clicking a button, etc.) as editor events
aren't exposed.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Jim Patterson" wrote:

Is there a way to create a macro that will automatically recognize a
highlighted word in an Outlook message, copy it, go to Wikipedia. com, paste
the word into the search box, and click enter?

Thanks in Advance,
--
Jim Patterson

 




Thread Tools
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
Automate mail account creation? Doug Outlook - Installation 2 February 8th 06 06:03 PM
POP3 account automatic creation Andrea A Outlook - General Queries 0 January 31st 06 02:25 PM
outlook macro matt Outlook and VBA 1 January 30th 06 01:30 PM
Automating Profile Creation for Outlook 2000 David Outlook - Installation 2 January 27th 06 12:33 AM
Outlook 2k3/XP automatic profile creation? gavinfixit@yahoo.com Outlook - Installation 3 January 23rd 06 08:26 PM


All times are GMT +1. The time now is 12:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Car Finance - Hummer Dealership - Remortgages - Problem Mortgage - Epson Stylus Photo Printer