Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default email new message

What is the code to open MS Outlook new message by double clicking an
email address in a text box on a form. If the double clicking will not
work then a command button can be added for the code.

Craig Wilks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default email new message

Craig

In the Userform's class module, put this

Private Sub TextBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)

ThisWorkbook.FollowHyperlink "mailto:" & Me.TextBox1.Text

End Sub

Change TextBox1 to the name of your textbox.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Craig Wilks" wrote in message
...
What is the code to open MS Outlook new message by double clicking an
email address in a text box on a form. If the double clicking will not
work then a command button can be added for the code.

Craig Wilks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Including a message in an Email JeffN Excel Discussion (Misc queries) 1 September 15th 09 10:37 AM
message in the body of the email pdaws Excel Worksheet Functions 1 September 30th 08 04:11 PM
email message on worksheet rj shoe[_2_] Excel Discussion (Misc queries) 1 September 3rd 08 02:06 PM
New Email Message hmaze New Users to Excel 1 February 15th 08 06:19 PM
Download Email message mrbalaje Excel Discussion (Misc queries) 2 January 21st 08 11:50 AM


All times are GMT +1. The time now is 05:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"