I was able to find an answer to part of my problem and was able to open hyperlinks in a range of selected cells in Excel. BUT... It only worked if the hyperlink is showing and not hidden by "friendly text".
When I use the code below to select cells with hyperlinks (URLs) everything is great and they open in the default browser. What I would like is to be able to open Hyperlinks that is displaying "friendly text". . =HYPERLINK("http://jsvp/MoveImage.aspx?t=1&sku="&A13,A4).
This shows the word "upload" in the cells.
=IF(LEN(A3)>5,"",HYPERLINK("https://supercms.company.com/ManageProducts/"&LEFT(A3,5),A3))
This displays a value from Cell A3.
I get a Run-time error '-2147221014 (800401ea)' Cannot open specified file.
Would there be a way open the URLs even if the text was hiding the Hyperlink (URL)?
Credit to: PETER ALBERT (https://stackoverflow.com/users/1867581/peter-albert?tab=profile) for his code.
Sub Open_SelectedTextlinks()
Dim c As Range
If Not TypeOf Selection Is Range Then Exit Sub
For Each c In Selection.Cells
If c.Hyperlinks.Count = 0 Then
ActiveSheet.Hyperlinks.Add Anchor:=c, _
Address:="http://" & c.Value 'Depending on the content of your cell, remove the "http://" & part
End If
c.Hyperlinks(1).Follow
Next
End Sub