+ Reply to Thread
Results 1 to 4 of 4

Counting the number of clicks on a hyperlink

Hybrid View

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    Loenhout
    MS-Off Ver
    2013
    Posts
    2

    Counting the number of clicks on a hyperlink

    I want to use a formula/function/VBA-script to count the times that I click on a hyper- or weblink in an EXCEL table.

    Does anybody has a solution?

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Counting the number of clicks on a hyperlink

    you can put this in the worksheet object:

    Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
    Range("A1").Value = Range("A1").Value + 1
    End Sub
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Registered User
    Join Date
    04-29-2015
    Location
    Loenhout
    MS-Off Ver
    2013
    Posts
    2

    Re: Counting the number of clicks on a hyperlink

    Worked perfectly. Thx!!

  4. #4
    Registered User
    Join Date
    05-13-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    1

    Re: Counting the number of clicks on a hyperlink

    Hi, I am 5 years late to this post. I would like to do the same as well, but I don't know how to use the VBA script. Could anyone explain? I am so sorry for my confusion.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tracking Hyperlink Clicks
    By sbricks24 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-11-2014, 05:46 AM
  2. userform button click stores a variable (number of clicks)
    By JayEmTee91 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2011, 03:13 PM
  3. Counting Clicks in Excel
    By crazyhick in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-26-2010, 10:19 AM
  4. Recording Number of Clicks
    By SSA_111 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2006, 04:55 AM
  5. [SOLVED] Counting Clicks
    By someguy@somewhere.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2006, 03:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1