+ Reply to Thread
Results 1 to 4 of 4

Excel VBA Lap Counter

  1. #1
    Forum Contributor
    Join Date
    03-03-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    123

    Excel VBA Lap Counter

    Good day,

    I am trying to make a race lap counter, for 100 participants. For each lap, I want to type the participant number, and when pressing enter, it should log the time, and be ready for the next number.
    I have something similar, but with buttons - up to 30 participants. for 100, the buttons is getting overcrowded, and under pressure, it is difficult to log the correct participant number.

    Does anyone have an example of how I could do it in VBA?

    Thanks in advance

    Johan

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Excel VBA Lap Counter

    See the attached you may be able to adapt/expand the principle contained in this app.
    The details of it's development are at the link below.

    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    03-03-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    123

    Re: Excel VBA Lap Counter

    Thanks for the quick help. I already have something similar, that can handle up to 30 laps. The problem is that I have to click on every riders name, or in my case, number. To handle 10 or 20 is okay, but we exceed 60 riders sometimes. The goal here is to use the keypad to enter the rider number to log his time. So every time a rider do a lap, the count and time is logged by entering his number with the keypad, and enter.
    Attached my working example.

    Thanks, appreciate
    Attached Files Attached Files

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Excel VBA Lap Counter

    On re-visiting old threads to see progress I see no one has followed up.
    So try the attached, it needs refinement but does the job.
    To clear all fields ready for a start do a dummy start/stop/reset.
    Once started all entries are done via the numeric keypad & enter (hide the mouse & tie left hand behind back).
    Only briefly tested so no guarantee's.
    torachan.
    Attached Files Attached Files
    Last edited by torachan; 02-24-2020 at 04:47 AM. Reason: code mod (last man not recording)

+ 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. [SOLVED] Changing HH:MM:SS counter format into MMM - 3 digit minute counter (eg. 120 minutes)
    By macropulos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-08-2017, 12:09 PM
  2. Numerical Counter in Excel
    By hiwire03 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2016, 11:30 AM
  3. Replies: 0
    Last Post: 04-23-2013, 10:52 AM
  4. Excel Graphical Rev Counter
    By jtwork in forum Excel General
    Replies: 4
    Last Post: 05-14-2010, 05:13 AM
  5. [SOLVED] Counter in Excel template
    By office newbie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2005, 01:00 PM
  6. [SOLVED] Increment a counter in Excel
    By COSdl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2005, 11:33 AM
  7. Excel Counter
    By Juran in forum Excel General
    Replies: 1
    Last Post: 01-15-2005, 08:06 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