PC Review


Reply
Thread Tools Rate Thread

ask user to determine email program

 
 
J.W. Aldridge
Guest
Posts: n/a
 
      12th May 2009
Is there a way to create a code that at the click of a button, ask a
user "Are you at a terminal where you use Outlook Email ?"

If answer is yes, open their outlook email (despite default user
settings) and set up an email to a specific email address.

If no, then open their default email and set up an email to specific
email address.
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      12th May 2009
The easiest way is to let Excel find the default mail program and set
up the message:

Sub AAA()
Dim Addr As String
Dim Subj As String
Addr = "(E-Mail Removed)"
Subj = "This is the subject"
ThisWorkbook.FollowHyperlink "mailto:" & Addr & _
"?subject=" & Subj
End Sub

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Tue, 12 May 2009 08:52:02 -0700 (PDT), "J.W. Aldridge"
<(E-Mail Removed)> wrote:

>Is there a way to create a code that at the click of a button, ask a
>user "Are you at a terminal where you use Outlook Email ?"
>
>If answer is yes, open their outlook email (despite default user
>settings) and set up an email to a specific email address.
>
>If no, then open their default email and set up an email to specific
>email address.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Determine user's Email Address joel Microsoft Excel Programming 0 26th Mar 2009 10:39 AM
how to determine a program's ram usage =?Utf-8?B?bndlaXNzbWE=?= Windows Vista General Discussion 3 1st Nov 2007 01:59 AM
A program to determine type? P. Burrows Freeware 16 24th Mar 2006 03:02 PM
Trying to call a program in the Open Event; how do I determine the currently opened email mailitem message? Gary Microsoft Outlook VBA Programming 0 8th Sep 2003 10:40 PM
How to determine user behind unknown SID listed in User Rights Assignments? Microsoft Windows 2000 Group Policy 5 4th Jul 2003 12:41 AM


Features
 

Advertising
 

Newsgroups
 


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