Hi All,
I am trying to write a paragraph into vba code along with some formatting as I want to write some lines in bold, double line break, give hyperlink to email address and at the end I would like to copy entire paragraph into clipboard so I can paste it manually on email body. I am completely unaware about html code so took help from some threads and could do only as below. anyone can please help in this to complete the code?
I would like to write as
Hi John,
Please find below the required information.
Description: (Bold)
Name:
Address:
DOB:
Email: xxxxx@gmail.com (Hyperlink)
Thanks
I am trying to write a paragraph into vba code along with some formatting as I want to write some lines in bold, double line break, give hyperlink to email address and at the end I would like to copy entire paragraph into clipboard so I can paste it manually on email body. I am completely unaware about html code so took help from some threads and could do only as below. anyone can please help in this to complete the code?
I would like to write as
Hi John,
Please find below the required information.
Description: (Bold)
Name:
Address:
DOB:
Email: xxxxx@gmail.com (Hyperlink)
Thanks
Code:
Sub Mydata()
Dim s As String
s = "<font size=""10"" face=""Calibri"" color=""black"">" & _
"Hi John" & "<br>" & _
"Please find below the required information" & _
"Description:" & _
"Name:" & _
"Address:" & _
"DOB:" & _
"Email: xxxx@Gmail.com" & _
"Thanks:" & _
"</font>"
End Sub