This example sets the ID of cell A1 on the active worksheet to "target".
ActiveSheet.Range("A1").ID = "target"
Later, the document is saved as a Web page, and the following line of HTML is added to the Web page.
<A HREF="#target">Quarterly earnings</A>
When the user then views the page in a Web browser and clicks the hyperlink, the browser displays the cell.