+ Reply to Thread
Results 1 to 2 of 2

Create a Procedure

  1. #1
    Registered User
    Join Date
    07-16-2012
    Location
    philippines
    MS-Off Ver
    Excel 2003/Excel2007
    Posts
    31

    Create a Procedure

    (sorry, I'm not sure whether to post it in function section or here)

    I have the MAIN worksheet which summarizes data from different sheets.

    HTML Code: 
    **END TIME is based on the particular time the last case for that "batch" is done. (ex. Employee 1's 7th case was done at 5:06)
    **START TIME is provided, BUT, if the END TIME from previous "allocations" is greater, the END TIME will be used as the START TIME (ex. Employee 3's START TIME)

    I was able to do it with a simple IF-THEN command, yet, it can only be done only up to 4 alloc (or allocations), beyond that, I already get an error (something about too many arguments, etc). I'm not familiar that with procedures (or functions), so, I was hoping someone will be able to help me translate it into procedures (or functions).

    TIA.
    Attached Files Attached Files
    Last edited by lab_harts; 02-07-2015 at 06:33 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Help with Procedures (or Functions)

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. How to use the same variable in different procedures
    By lubbamkt in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-20-2014, 02:07 AM
  2. Help calling functions to sub procedures
    By xXNetRavenXx in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-27-2010, 01:47 PM
  3. VBA Sub Procedures
    By ladeda063610 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2008, 03:12 AM
  4. Checkbox procedures
    By rbbbbeee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2006, 10:45 AM
  5. Get VBA procedures from DB
    By Hiran de Silva in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2006, 12:50 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