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.
 
Top