Hyperlink.SubAddress property (Excel)
Returns or sets the location within the document associated with the hyperlink. Read/write String.
Syntax
expression.SubAddress
expression A variable that represents a Hyperlink object.
Example
This example topic adds a range location to the hyperlink for shape one.
Worksheets(1).Shapes(1).Hyperlink.SubAddress = "A1:B10"
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.