+ Reply to Thread
Results 1 to 3 of 3

Time Calculation on Userform Entry

  1. #1
    Registered User
    Join Date
    11-21-2009
    Location
    Europe
    MS-Off Ver
    Excel 2010 and beyond
    Posts
    16

    Time Calculation on Userform Entry

    Hello people,

    I would truly appreciate any help you can offer on the following problem.

    I am creating a pretty complex (for me!) userform/macro which records work times for a number of technicians.


    it works over a 24 hour clock and the calculation/recording issues are as follows:

    Midnight - 9AM - Overtime - Store category, times entered and calculate duration
    5.30PM- Midnight Overtime - Store category, times entered and calculate duration
    9.30AM - 5.30PM Regular time - Store category, times entered and calculate duration - HOWEVER...

    With regular, disregard the time from 1-2pm - if time entered includes this or any part of it, remove the offending time
    EX: 9.30am-5.30pm - store Regular, 9am, 5.30pm, 7.5hours
    12.30pm - 2.15pm - store Regular, 12.30pm , 2.15pm 0.75hours
    11am - 3pm- store Regular, 11am, 3pm- 3 hours

    Of course, someone may also entered a time requiring up to three entries:
    3AM-11PM
    Store 1: Overtime, 3AM, 9AM, 6
    Store 2: Regular, 9am, 5.30pm, 7.5hours
    Store 3: Overtime, 5.30PM, 11PM, 5.5hours


    You see my problem? I have been so immersed in this that I now cannot see the "wood from the trees" and would truly appreciate any help.

    I have attached a slimmed down userform showing the input side of the time entry (with a little cheat to include the midnight hour figure for the finishing time).

    Many thanks for any help you can offer!

    Regards

    Nisio
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Time Calculation on Userform Entry

    It is an empty file.

  3. #3
    Registered User
    Join Date
    11-21-2009
    Location
    Europe
    MS-Off Ver
    Excel 2010 and beyond
    Posts
    16

    Re: Time Calculation on Userform Entry

    If you view the VB section of the file, and click on Forms, you will see the code ... apologies

    Developer .. Macro.. TimeTest.. Forms... xxxxFTest... Run UserForm

+ 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. Userform Based Data Entry with time limit
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2016, 11:28 PM
  2. [SOLVED] Time sheet with userform as data entry
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2015, 11:44 AM
  3. [SOLVED] Time entry on UserForm displaying inccorectly and calculation not working on the time.
    By Colin Smit in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-12-2014, 01:21 PM
  4. [SOLVED] UserForm SpinButton to increment Time after TextBox Entry
    By GRazor71 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2013, 01:10 PM
  5. Excel 2007 : DATE TIME entry and calculation
    By sidyad in forum Excel General
    Replies: 4
    Last Post: 07-29-2012, 05:37 PM
  6. Verify a time entry in userform
    By Hond70 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2011, 06:30 AM
  7. Userform for time entry: multiple controls/single value?
    By smplogc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2006, 07:09 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