I have the following code used to open a new Outlook email message upon double-clicking the email address.
Private Sub Email__1_DblClick(Cancel As Integer)
Application.FollowHyperlink "mailto:" & "Email #1"
End Sub
I want to modify the code so that "Email #1" is replaced with the actual email address text that is being double-clicked. How can this be accomplished without having to create a code for each individual email address?
Private Sub Email__1_DblClick(Cancel As Integer)
Application.FollowHyperlink "mailto:" & "Email #1"
End Sub
I want to modify the code so that "Email #1" is replaced with the actual email address text that is being double-clicked. How can this be accomplished without having to create a code for each individual email address?