• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Time Study template

Hello Sir,

I am working on time study template. In the attached file I have 2 command buttons "Start and End" to capture current "Date and Time" and calculate the TAT. I have added command buttons for each row and macro is assigned to each button.

With this method macro code is too long if I need to capture 20 + line items. I am looking for to work this template with only 2 buttons as start and end which continues to capture time in column D and E for the next blank cells.

Also I would like to put the color code for TAT value as per the below conditions

between 00:00:01 and 00:09:59 ==Green
between 00:10:00 and 00:19:59 == Yellow
Greater than 00:20:00 == Yellow

Kindly help me on this problem. Thanks in advance for the support.
 

Attachments

  • Sample file Time .xlsm
    47.3 KB · Views: 5
I turned your key into a Conditional Format reference, so cells get colored automatically. The two buttons will not automatically fill in latest Start/Stop times.
 

Attachments

  • Example file Time .xlsm
    46.8 KB · Views: 13
Back
Top