I have the following VBA line, which should create a hyperlink to another sheet in an Excel workbook:
Dim rMyCell As Range
Sheets("All_Tables").Hyperlinks.Add Anchor:=Selection, Address:="Employees!" & rMyCell.Address, _
TextToDisplay:="Link"
The hyperlinks created from this code have dollars signs placed between the letters in the cell description (such as: Employees!$A$1
). How do I get rid of those dollars? The hyperlink doesn't work with them.
Thank you