Opening an Outlook email from Access

C

Contro

Hi Guys!

I have the following code:

Dim strEmail As String

If Not IsNull(Me.Email) Then
strEmail = Me.Email
If Left(strEmail, 7) <> "mailto:" Then
strEmail = "mailto: " & strEmail
End If
Application.FollowHyperlink strEmail
End If

Which opens an email when assigned to the relevant button or what not.

The problem I have is that it sometimes opens Outlook Express, and not
always Outlook. I do not want to have to assume that all users have
their default as Outlook, so is there any way for this code to
specifically open Outlook?

Any help would be great and hugely appreciated (as always!)!

Contro.
 

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