Hyperlink.EmailSubject property (Excel)

Returns or sets the text string of the specified hyperlink's email subject line. The subject line is appended to the hyperlink's address. Read/write String.

Syntax

expression.EmailSubject

expression A variable that represents a Hyperlink object.

Remarks

This property is usually used with email hyperlinks.

The value of this property takes precedence over any email subject line that you have specified by using the Address property of the Hyperlink object.

Example

This example sets the email subject line for the first hyperlink in the first worksheet.

Worksheets(1).Hyperlinks(1).EmailSubject = "Quote Request"

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.