send email from listbox

ChrisDo11

Registered User.
Local time
Today, 08:32
Joined
Jan 21, 2003
Messages
69
i'm sure this has been discussed before but i can't find anything when i search this forum.

i have a listbox on my form which lists company name, contact, and email. the email feild in the table is a hyper link. i'd like to set up this list box so that when the user selects an item on the list outlook opens with the selections email address. Preferably the user just clicks the email address on the listbox, i just can't seem to make it work.

the email address shows up as a hyperlink, but you can't click it. the whole record is selected.

hope this makes sense
 
Assign this to a button on your form or to the DoubleClick event of the list box that displays the email address...

Application.FollowHyperlink "mailto:" & Me.EmailFieldNameHere

HTH
 
thanks.... its partially working now.. only once outlook opens i'm getting #mailto:doug@hotmail.com# behind the email address.....

any ideas?
 
Change the formatting of the email field within the table from hyperlink to text.
 

Users who are viewing this thread

Back
Top Bottom