+ Reply to Thread
Results 1 to 2 of 2

Counting laps and display lap time for swimmers

  1. #1
    Registered User
    Join Date
    10-21-2012
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Counting laps and display lap time for swimmers

    Hi, the attached spreadsheet explains: I need to place an "X" in the start column with a double-click and then display the time in the cell to the right. On completion of the first lap, a double-click in the Lap 1 column should place "X" in the double-clicked cell and produce the end time in the End Time column at the end of the row. The next double-click in the Lap 2 column should place "X" in the double-clicked cell and then update / overwrite the previous end time in the End Time column. Ditto for all the Lap cells right to the end. I have tried achieving this by using recorded macros and text boxes in the first input row (11) but that will require hundreds of macros and text boxes - a very silly way to get the result I require. My experience with VB is nil - I have just started learning. Hoping for help by way of a clean and short code that will solve my problem. Much gratitude for any help offered!
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Counting laps and display lap time for swimmers

    Hi Hennie1 and welcome to the forum,

    Find my attached with a suggestion. I have made some sample data using a Now formula in Col B. I have put a counter formula in Col C. I have not done a Dynamic Named Range or any VBA code in the attached. It is simply a different (better?) way to arrange your data and do this problem. See if you understand where I'm going and if it will work for you...
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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