Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Determine Email App

I need a way to determine if my users are using Lotus or Outlook via
VBA code. I'm sending out an email after all processing is done and I
expected that all users were on Lotus, but now I've found out some are
using outlook....BOOOOOOO!!!

Thanks,
Shelley

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default Determine Email App

Hi sbowman,
May be:

Sub DefaultMailSoftware()
Const Key As String = "HKLM\Software\Clients\Mail\"
MsgBox CreateObject("WScript.Shell").regread(Key), 64
End Sub

MP

"sbowman" a écrit dans le message de news:
...
I need a way to determine if my users are using Lotus or Outlook via
VBA code. I'm sending out an email after all processing is done and I
expected that all users were on Lotus, but now I've found out some are
using outlook....BOOOOOOO!!!

Thanks,
Shelley



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Determine Email App


sbowman wrote:
I need a way to determine if my users are using Lotus or Outlook via
VBA code. I'm sending out an email after all processing is done and I
expected that all users were on Lotus, but now I've found out some are
using outlook....BOOOOOOO!!!

Thanks,
Shelley


there is a key in the registry that indicates the default mail program.
i forget which one, but i'm sure some googling will tell you. i don't
know why it would matter tho as long as you can get the email to send
from your machine, the end user should be able to open it with any mail
client. i must be messing something. hope this (kind of) helps

AR

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Determine Email App

Just an added thought.

That certainly tells you the default mail program, but mine is outlook and I
often read some accounts with outlook express. So I guess it depends on what
you want to achieve.

--
Regards,
Tom Ogilvy


"Michel Pierron" wrote:

Hi sbowman,
May be:

Sub DefaultMailSoftware()
Const Key As String = "HKLM\Software\Clients\Mail\"
MsgBox CreateObject("WScript.Shell").regread(Key), 64
End Sub

MP

"sbowman" a écrit dans le message de news:
...
I need a way to determine if my users are using Lotus or Outlook via
VBA code. I'm sending out an email after all processing is done and I
expected that all users were on Lotus, but now I've found out some are
using outlook....BOOOOOOO!!!

Thanks,
Shelley




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Determine Email App


Thanks guys for all your help. How would I return the regkey value in a
variable? All I'm trying to accomplish is send an email message, no
attachments, pre determined body text, to a specified address. Should
be easy right? Too bad I have a variable amount of users that use
Lotus, and some that use Outlook!!!

Thanks,
Shelley

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
Using Macro how to create email link for the email addresses in aRange or Selection Satish[_2_] Excel Worksheet Functions 8 December 28th 09 03:30 PM
send wkbk as an email attachment with an email address copied from SueInAtl Excel Discussion (Misc queries) 0 May 21st 07 10:53 PM
can I copy a column of email addresses, paste into email address? Lizizfree New Users to Excel 4 July 20th 06 10:03 PM
Transfer Email addresses from spreadsheet to email address book Beana Excel Discussion (Misc queries) 2 May 30th 06 06:07 PM
Email editor closes when forwarding Excel-embedded email Bambina Setting up and Configuration of Excel 0 March 16th 06 10:45 PM


All times are GMT +1. The time now is 12:10 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"