F
Frank Situmorang
Hello,
This is my VBA on the email button, but it runs to open MS Outlook 2007
email progtram. How can we make it to always open an Yahoo. email program, or
whatever available program in smeone's computer.
Private Sub cmdEmail_DblClick(Cancel As Integer)
On Error GoTo HandleErr
' Save the record
If Me.Dirty Then DoCmd.RunCommand acCmdSaveRecord
' Make sure the hyperlink property is current
EnableEmail
' We don't actually have to do anything here. The button uses its own
' hyperlink property to send mail, as specified in the Form_Current
ExitHere:
Exit Sub
HandleErr:
Select Case Err
Case Else
MsgBox Err & ": " & Err.Description, _
, "Form_Contact.cmdEmail_Click"
End Select
Resume ExitHere
End Sub
Thanks for anyhelp.
Frank
This is my VBA on the email button, but it runs to open MS Outlook 2007
email progtram. How can we make it to always open an Yahoo. email program, or
whatever available program in smeone's computer.
Private Sub cmdEmail_DblClick(Cancel As Integer)
On Error GoTo HandleErr
' Save the record
If Me.Dirty Then DoCmd.RunCommand acCmdSaveRecord
' Make sure the hyperlink property is current
EnableEmail
' We don't actually have to do anything here. The button uses its own
' hyperlink property to send mail, as specified in the Form_Current
ExitHere:
Exit Sub
HandleErr:
Select Case Err
Case Else
MsgBox Err & ": " & Err.Description, _
, "Form_Contact.cmdEmail_Click"
End Select
Resume ExitHere
End Sub
Thanks for anyhelp.
Frank