Так коде который тебе дали надо вставить кудато.
ОК. Попробуем ещё раз
Option Explicit
Private Declare Function ShellExecute Lib _
"shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Private Const SW_SHOW = 1
Private Sub SendMessage(ByVal sParameter As String)
Dim hBrowse As Long
hBrowse = ShellExecute(0&, "open", sParameter, "", "", SW_SHOW)
End Sub
Private Sub Command1_Click()
Dim sMessage As String
sMessage = "mailto:vasiaPupkin@yahoo.com?subject=" & _
"There is something I want to tell you&body=" & _
"this is the body of the demo message"
SendMessage (sMessage)
End Sub