+ Reply to Thread
Results 1 to 11 of 11

count row on the click

  1. #1
    Forum Contributor
    Join Date
    01-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2016
    Posts
    133

    count row on the click

    I have the following situation. In cell A1 if I click on the click, I want the number 1 to appear. If I go to A2 and click on the number 2 to appear, I want to be able to have a count but based on the click.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: count row on the click

    so you want the row number to appear when you click on a cell? Would you settle on getting the row number on a double-click?

  3. #3
    Forum Contributor
    Join Date
    01-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2016
    Posts
    133

    Re: count row on the click

    It doesn't bother me with a double click

  4. #4
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: count row on the click

    Place this code in your sheet module

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    01-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2016
    Posts
    133

    Re: count row on the click

    Quote Originally Posted by maniacb View Post
    Place this code in your sheet module

    Please Login or Register  to view this content.
    I don't think I expressed myself correctly. When I click on cell A1, I want the value 1 to appear in the cell. Not to be displayed in a window.

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: count row on the click

    Maybe try

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    01-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2016
    Posts
    133

    Re: count row on the click

    Quote Originally Posted by Bo_Ry View Post
    Maybe try

    Please Login or Register  to view this content.
    Works. But the value does not remain in the cell after I click, and I want if it can only be done in column A to be able to do this counting.

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: count row on the click

    Try this

    Please Login or Register  to view this content.

  9. #9
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070

    Re: count row on the click

    Hi,

    You could test following
    Please Login or Register  to view this content.
    HTH
    Carim


    Top Excel Links

  10. #10
    Forum Contributor
    Join Date
    01-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2016
    Posts
    133

    Re: count row on the click

    thx. you. is working.

  11. #11
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070

    Re: count row on the click

    You are welcome

    Thanks for your Thanks

+ 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. Click count
    By s29uny in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2018, 11:10 AM
  2. [SOLVED] VBA excel - Count Color shape as value not run unless i click play button
    By Wizlee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-24-2017, 03:27 AM
  3. Click to count usage with value + date
    By gotid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2017, 02:20 PM
  4. [SOLVED] Reputation count per rep click from Guru !!!
    By bebo021999 in forum The Water Cooler
    Replies: 14
    Last Post: 12-20-2015, 01:25 AM
  5. Display Hyperlink based on Click Count (favourites)
    By jmillf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2015, 06:42 PM
  6. [SOLVED] Count Command Button click starting from one
    By Figolu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2014, 03:57 AM
  7. [SOLVED] Macro to keep count of click of button on protected worksheet
    By CharlieZangel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2012, 03:37 PM

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