I am looking to create a VBA functon to change the color of a shape if there is a hyperlink attached.
Not sure if this helps:
ActiveSheet.Shapes.Hyperlink.Fill.ForeColor.RGB = vbBlue
...
"IF(Shape contains hyperlink)
Change shape color to blue
Else
No change"