R
Rob
Excel 2000
I have a sub "Private Sub Worksheet_FollowHyperlink(ByVal Target As
Hyperlink)" set up and want to record the number of times during the
worksheet is open that a user clicks the cell to trigger the above sub.
I've tried declaring Dim Utries As Long and then adding Utries = Utries +1
but this returns 1 each time the cell is clicked i.e. I think the contents
of Utries is cleared each time the cell is clicked.
I guess I've put code in the wrong place but am lost as to where it should
go.
Thanks for any ideas. Rob
I have a sub "Private Sub Worksheet_FollowHyperlink(ByVal Target As
Hyperlink)" set up and want to record the number of times during the
worksheet is open that a user clicks the cell to trigger the above sub.
I've tried declaring Dim Utries As Long and then adding Utries = Utries +1
but this returns 1 each time the cell is clicked i.e. I think the contents
of Utries is cleared each time the cell is clicked.
I guess I've put code in the wrong place but am lost as to where it should
go.
Thanks for any ideas. Rob