Advertisement
01001011

Excel VBA: FollowHyperlink

Jun 7th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'Excel VBA: FollowHyperlink
  2.  
  3. Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)  
  4.     If Target.Range.Address = "$A$4" Then  
  5.         MsgBox "Write your Code here to be executed"  
  6.     End If  
  7. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement