Adds a hyperink to the specified range or shape. Returns a Hyperlink object.
Syntax
object.Add(Anchor, Address, SubAddress, ScreenTip, TextToDisplay)
object Required. An expression that returns a Hyperlinks object.
Anchor Required Object. The anchor for the hyperlink. Can be either a Range or Shape object.
Address Required String. The address of the hyperlink.
SubAddress Optional Variant. The subaddress of the hyperlink.
ScreenTip Optional Variant. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
TextToDisplay Optional Variant. The text to be displayed for the hyperlink.