Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / August 2006

Tip: Looking for answers? Try searching our database.

Capture selected text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
René - 30 Aug 2006 08:05 GMT
Hi,

Frequently I receive email which contain reference numbers to records in a
database. The references are in the subject or in the body of the email. Now
I select these numbers and copy them, go to another application, paste the
number and lookup the record.
This must be automated, and I know how. But I don't know the VBA code to
capture the selected text/number from the email so I can use this in other
VBA code to open the record in the database.

Is there a way?

Thanks for your help.
René
Michael Bauer [MVP - Outlook] - 31 Aug 2006 05:44 GMT
Am Wed, 30 Aug 2006 00:05:01 -0700 schrieb René:

Outlook itself offers no way for both. For selected text in the body you
yould use Redemption from www.dimastr.com. For the one in the subject you´re
dependent on the Win32 API.

Signature

Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
 -- www.VBOffice.net --

> Hi,
>
[quoted text clipped - 10 lines]
> Thanks for your help.
> René
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.