Capture selected text

G

Guest

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é
 
M

Michael Bauer [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top