+ Reply to Thread
Results 1 to 10 of 10

Obtain the start and end times of processes having many variables

  1. #1
    Registered User
    Join Date
    06-03-2014
    MS-Off Ver
    Office365
    Posts
    58

    Obtain the start and end times of processes having many variables

    Need help trying to get the next start and end times of 6 machines doing multiple jobs.

    Worksheet attached.

    Thanks for the help.
    Robert
    Attached Files Attached Files

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Obtain the start and end times of processes having many variables

    Maybe :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,272

    Re: Obtain the start and end times of processes having many variables

    karedog see this if using collection
    how to solve using collection
    karedog.png
    "ThankyouFor Attention * And Your Help!!"

  4. #4
    Registered User
    Join Date
    06-03-2014
    MS-Off Ver
    Office365
    Posts
    58

    Re: Obtain the start and end times of processes having many variables

    This is magical !!
    Thanks so much, Karedog.

    I did not get the runtime error that 'daboho' got.
    Using Excel 2019

    My updated file attached.

    Robert
    Attached Files Attached Files

  5. #5
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Obtain the start and end times of processes having many variables

    @Robert :
    You are welcome, and don't forget to mark this thread as solved, thanks.

    @daboho :
    We have told you (rory and I) in this thread :
    https://www.excelforum.com/excel-pro...-criteria.html
    but you you did not respond.

    You have to change VBE Error Trapping Mode, back to default (Break on Unhandled Errors).
    On VBA window, select menu Tools -> Option -> Select "General" tab -> change to "Break on Unhandled Errors"

    EF1255859.gif

  6. #6
    Registered User
    Join Date
    06-03-2014
    MS-Off Ver
    Office365
    Posts
    58

    Re: Obtain the start and end times of processes having many variables

    Hi karedog,
    Could you help alter the code so that the next Job assigned to each machine must start right after the previous job is ended, unless clean time is needed due to product type change?
    Appreciate your help. Sample filt attached.
    Thanks
    Robert
    Attached Files Attached Files
    Last edited by Robn02; 12-09-2018 at 07:49 PM. Reason: adding a worksheet

  7. #7
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Obtain the start and end times of processes having many variables

    Should be :
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-03-2014
    MS-Off Ver
    Office365
    Posts
    58

    Re: Obtain the start and end times of processes having many variables

    Thanks much, Karedog! That code is so slick and amazing.
    I tried playing with the previous code and kept getting errors 434 and 13.

    I noticed if I took one machine off, the code would distribute to a second Machine 7.
    Can you change the code to distribute the jobs evenly where possible to the machines?

    Thanks once again.
    Robert
    Attached Files Attached Files
    Last edited by Robn02; 12-11-2018 at 12:39 PM. Reason: need a slight change in code

  9. #9
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,272

    Re: Obtain the start and end times of processes having many variables

    karedog thank you its work by setting to break on Unhadled Errors

  10. #10
    Registered User
    Join Date
    06-03-2014
    MS-Off Ver
    Office365
    Posts
    58

    Re: Obtain the start and end times of processes having many variables

    I think I need a rework on the spreadsheet, having messed it up.
    fresh file attached. What I am trying to accomplish is to evenly distribute tasks within given parameters.
    Seems a lot more difficult than I could imagine.
    need help please!
    Thanks
    Attached Files Attached Files

+ 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. [SOLVED] Creating a graph with start times and end times vs time
    By khoadphamm in forum Excel General
    Replies: 14
    Last Post: 12-31-2019, 02:57 PM
  2. [SOLVED] Averaging the earliest start times and latest end times for multiple days
    By kbiro in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-26-2016, 02:15 PM
  3. Replies: 4
    Last Post: 03-02-2016, 02:46 AM
  4. [SOLVED] Using VBA w/ HTML: I'd like to scan a page to obtain all fields/variables I can write to
    By joe31623 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2016, 10:43 PM
  5. Replies: 21
    Last Post: 05-11-2015, 03:53 PM
  6. Graph three variables in excel, and obtain a formula
    By jfbracho in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-31-2012, 07:55 PM
  7. Replies: 0
    Last Post: 11-14-2011, 05:40 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