0 Agios
Well-known Member
- Joined
- Feb 22, 2004
- Messages
- 570
- Office Version
- 365
I have this script
and it automatically opens new emails
is there a way to link to the email mesage boddy with the contents of an excel page ? also can the RE: mesage link to a label ?
Private Sub Label630_Click()
Dim link As String
link = TextBox8
On Error GoTo NoCanDo1
ActiveWorkbook.FollowHyperlink Address:="mailto:chuck@advfireonline.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:cahernandez@simplexgrinnell.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:lambert@ddcfire.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:mike@alarmandelectronics.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:mikeh@alarmandelectronics.com; & ', NewWindow:=True"
Exit Sub
NoCanDo1:
MsgBox "Cannot open " & link
End Sub
and it automatically opens new emails
is there a way to link to the email mesage boddy with the contents of an excel page ? also can the RE: mesage link to a label ?
Private Sub Label630_Click()
Dim link As String
link = TextBox8
On Error GoTo NoCanDo1
ActiveWorkbook.FollowHyperlink Address:="mailto:chuck@advfireonline.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:cahernandez@simplexgrinnell.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:lambert@ddcfire.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:mike@alarmandelectronics.com; & ', NewWindow:=True"
ActiveWorkbook.FollowHyperlink Address:="mailto:mikeh@alarmandelectronics.com; & ', NewWindow:=True"
Exit Sub
NoCanDo1:
MsgBox "Cannot open " & link
End Sub