Make links active in Excel 2007

Make text links in cells active in Excel 2007




Sub AddCustomHyperlink()
'
' Converts each text hyperlink selected into a working hyperlink
'
    
    For Each xCell In Selection
        ActiveSheet.Hyperlinks.Add Anchor:=xCell, Address:=xCell.Value
    Next xCell
'
'
End Sub

Comments

Popular posts from this blog

Find countries in a file's text using regular expressions and Perl