+ Reply to Thread
Results 1 to 10 of 10

Completed Projects

  1. #1
    Registered User
    Join Date
    06-19-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    15

    Completed Projects

    I am looking for the work sheet "Chuck Riddle" to show me what projects that he does not have completed from data in work sheet "Safety" "1 Week Response" and "Routine" On Chucks work sheet I would like to view the W.O. #'s under the Reason Code and also show the date the work order was generated only on those incomplete. I am sending an attachment hopefully someone can help me with what I am trying to do.
    Attached Files Attached Files
    Last edited by mikesjd110; 03-10-2010 at 09:00 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Completed Projects

    This is placed in the employee sheet itself. It will reassess the list each time it is activated.

    To create other employee sheets, you need only copy this "Chuck Riddle" sheet and rename it properly. Then it will reassess for that employee name.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-19-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Completed Projects

    Thanks a lot for your help, But I'm having a few issues...
    Please review the attachment.
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Completed Projects

    When I run that code on your sheet, it finds the spot B6 for me every time. I didn't want to hardcode B6 as the spot where your chart starts because I know how people like to reposition things. If we use a .Find then it will always find it.

    Anyway, you can try:

    1) Turn on the macro recorder and let it record you doing a CTRL-F (find) for W.O.# in your sheet, then post the code here, let's see if your system has a different result than mine.

    2) Just hard code the first cell to paste into as:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-19-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Completed Projects

    Thanks so much, It works perfectly

  6. #6
    Registered User
    Join Date
    06-19-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Completed Projects

    Here is the new attachment / workbook. Thank-you for your help.
    Attached Files Attached Files

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Completed Projects

    This new workbook has a completely different layout, as well a different sheet name for Safety. Thus I presume you have edited the code in your attempt. Also, you seem to want the data copied in to appear in a new place... remember how I said in post #4 that was why I was searching for the position instead of hardcoding it.


    Anyway, I can't find your non-working yet edited code anywhere in the sample workbook. To insure you're understanding the code you're using, or at least the part that need editing, let's work from your edited code.

    Please post the file with your non-working edited version so I can see what you tried and where you tried to get it to appear. We'll work from there, OK?

    Also, anything not abundantly clear please provide as an informational aid.

  8. #8
    Registered User
    Join Date
    06-19-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Completed Projects

    Great to hear back from you I truly appreciate the help. Attached is a copy of my alterations, As you can see worksheet Chuck Riddle starts to work but shows no data, Turns that area of the sheet white but does not show data. Also it turns the sheet white starting at column "A" instead of "O"
    Hopefully you can help,

    Mike
    Attached Files Attached Files

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Completed Projects

    The data no longer starts at row 1, so we can't just autofilter the whole sheet anymore, can we? The .Cells reference filters the whole sheet, we need to specifically filter from B11 now. See, I told you people like to move things around, I didn't think that would include the DATA sheets... hehe... I'll make that part self-adjusting, too, so you can start the data anywhere on the source sheets, too.

    Here's the adjusted code, once installed and working in one sheet, you can simply duplicate the sheet and rename it to get an instantly working new version.

    Note, I changed the copy command to "values only", so as you move things around (I noticed each sample employee sheet had the chart in a different spot, which is fine)...make sure the date columns are formatted as dates.

    You can go ahead and put your desired formatting back in place on those employee sheets.

    Please Login or Register  to view this content.

    WARNNG: While I was working on your sheet, it ballooned up to 10Mb for no reason. This "bloat" is attributed to applying cell formatting and/or conditional formatting to entire worksheets, so it is not a good idea. I would suggest you reign that in a bit.

  10. #10
    Registered User
    Join Date
    06-19-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    15

    Smile Re: Completed Projects

    Excellant, I appreciate your help and support so much.
    The best. Thank-You.

+ 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