+ Reply to Thread
Results 1 to 2 of 2

macro to show capacity

  1. #1
    Registered User
    Join Date
    03-06-2010
    Location
    essex, england
    MS-Off Ver
    Excel 2003
    Posts
    23

    macro to show capacity

    Hi all,
    This is going to be a big ask so thanks for any help anyone can give

    What I need is a macro which will show me how many hours are loaded to a work center and if the work center is overloaded on hours when the macro is run

    So I have sheets "home" "production orders" and "routings"
    The home sheet is blank and is where I want the report
    The production orders has various data but the data that I need to use is the material number the qty and the start and end date
    The routings sheet has the material number the operation number the work center it goes on and how many hours the parts take to machine each

    What I somehow need to do is look on the production orders sheet down a range pick up each material number, qty and start date then reference that material number to the material number on the routings sheet and work out based on the work center how many hours are loaded to that machine and how many weeks it will span over.

    The report I need to see at the end should have all the work centers displayed and the hours loaded to that machine each week, so work center 1 might have 40 hours loaded in week 50 and 20 hours loaded in week 51 and so on... , I dont mind if this is in chart form or not, the capacity for each machine is 37 hrs per week

    I have attached a workbook for to look at

    Thanks again
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: macro to show capacity

    I can't promise anything but I am taking a look to get an idea how much effort this would be. I have no doubt that this is all quite clear in your own head but I have a few questions.

    "pick up each material number, qty and start date then reference that material number to the material number on the routings sheet" There is nothing labeled Material Number in Production Orders. How is it supposed to be matched to the data in Routings? I tried to guess but nothing works. Some of the numbers under Drawing Number of Production Orders mach some of what is in Routings for Material Number, but only a few in each match the other. What is this relationship supposed to be?

    "how many hours are loaded to that machine" Your data doesn't suggest anything about machines. How do you determine how many hours are loaded to a machine, and what machine is associated with what part of what order?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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