Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Creating a Macro to Record Lap Times

Hi

I am trying to create a spreadsheet in Excel which will record the lap times
of a number of riders in a bike race. At the moment I have a button in
column A for each of the riders, when the user clicks the button initally the
start time displays in Column B, I'm wondering if it's possible to create a
macro which would record the time at the end of lap one in column C on the
second click of the button, then the time at the end of lap two in column D
on the third click and so on.

Hope that makes sense!
Thanks
Mel

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default Creating a Macro to Record Lap Times

Sub bike1()
Cells(2, 256).End(xlToLeft).Offset(0, 1) = Format(Time, "hh:mm:ss")
End Sub


"MelNeedsHelp!" skrev:

Hi

I am trying to create a spreadsheet in Excel which will record the lap times
of a number of riders in a bike race. At the moment I have a button in
column A for each of the riders, when the user clicks the button initally the
start time displays in Column B, I'm wondering if it's possible to create a
macro which would record the time at the end of lap one in column C on the
second click of the button, then the time at the end of lap two in column D
on the third click and so on.

Hope that makes sense!
Thanks
Mel

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Creating a Macro to Record Lap Times

Thank-you!

"excelent" wrote:

Sub bike1()
Cells(2, 256).End(xlToLeft).Offset(0, 1) = Format(Time, "hh:mm:ss")
End Sub


"MelNeedsHelp!" skrev:

Hi

I am trying to create a spreadsheet in Excel which will record the lap times
of a number of riders in a bike race. At the moment I have a button in
column A for each of the riders, when the user clicks the button initally the
start time displays in Column B, I'm wondering if it's possible to create a
macro which would record the time at the end of lap one in column C on the
second click of the button, then the time at the end of lap two in column D
on the third click and so on.

Hope that makes sense!
Thanks
Mel

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a macro for all future spreadsheets epicman Excel Discussion (Misc queries) 2 August 31st 06 02:26 PM
Record New Macro ju1eshart Setting up and Configuration of Excel 3 August 25th 06 04:21 PM
Unable to record Macro Can not Record Macro Excel Discussion (Misc queries) 1 July 29th 06 01:11 AM
Macro to record keystrokes and not cell addresses Brian William Johnston Excel Discussion (Misc queries) 3 May 17th 06 09:27 PM
Running a Macro a number of times JWF Excel Discussion (Misc queries) 2 March 14th 06 11:10 AM


All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"