+ Reply to Thread
Results 1 to 2 of 2

Macro to loop through time until END

  1. #1
    Registered User
    Join Date
    09-29-2011
    Location
    Georgia
    MS-Off Ver
    Excel 2007
    Posts
    29

    Question Macro to loop through time until END

    I am looking for anyone who might be able to help me write a macro. I think it should be pretty simple - but I am not great with VBA.

    Basically I need a macro to look at a given start time (now() function), how much time a task should take (input), and what breaks happen within that amount of time.

    For example if I started a task 2/2/12 at 10:00 AM, and I input that it will take 2 hours, however there - between 10 and 11 there is a 20 minute break. I would like the macro to return 12:20 PM as the end time.

    I have the spread sheet set up with all of the data, including the "penalties" tab, indicating when breaks are and for how long.

    *also, task 2 can't begin until task 1 is complete.

    HELP.xlsx

    Can this be done? Any help is greatly appreciated!

  2. #2
    Registered User
    Join Date
    09-29-2011
    Location
    Georgia
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Macro to loop through time until END

    I was wondering - does anyone have any suggestions on 1) how I can start this? 2) if I am not phrasing this so that it is understood well enough to help?

    Either way ANY assistance is greatly appreciated!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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