Sto provando a generare e-mail da Excel ma voglio aggiungere collegamenti ipertestuali al testo del corpo dell'e-mail. Voglio che i collegamenti ipertestuali vengano visualizzati come testo e non come percorsi dei file.Aggiunta di collegamenti ipertestuali al testo del corpo dell'e-mail excel
Come faccio a fare questo?
Sto usando il codice qui sotto.
strBody = "Hello " & Range("QuoteFirstName").Value & "," & _
vbNewLine & _
vbNewLine & _
"It was good to speak with you earlier today/yesterday." & _
vbNewLine & _
vbNewLine & _
"[Any personal message]" & _
vbNewLine & _
vbNewLine
On Error Resume Next
With OutMail
.To = StrTo
.CC = ""
.BCC = ""
.Subject = StrSubject
.Body = StrBody
.Attachments.Add FileNamePDF
If Send = True Then
.Send
Else
.Display
End If
End With
Posso utilizzare .Hyperlinks.Add
?
Grazie, che era proprio quello che mi serviva. – evoandy