+ Reply to Thread
Results 1 to 10 of 10

Hide Columns, Filter & Copy Visable to new wrkbk

  1. #1
    Registered User
    Join Date
    06-04-2007
    Posts
    9

    Hide Columns, Filter & Copy Visable to new wrkbk

    Ok so here is my problem...I supervise a team...I have an Excel sheet with all client information...For clinical supervision I want my team members to open their own "Supervision.xls" and click a button...this button will open "Client.xls" and select "Client info sheet"...It will then hide rows c,d,g & f...it will then filter column "e" based on the specific caseworkers name ( say "Joe") and copy only the visable columns back to their "supervision.xls" Values only (doesn't effect the colour formating of Supervision.xls) then close "Client.xls"

    Help please....

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Cross posted here.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-04-2007
    Posts
    9

    More info

    So here are some sample excel sheet...they are not the real thing...mostly because they are at work and I am at home...and also the confidential issues of client info...also the data needs to be filtered by Caseworker...however the caseworker column does not need to be copied
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-04-2007
    Posts
    9

    Addtiontional Info

    Here are the real excel sheets for interest...
    I have changed everyones surname to smith.
    It is a new sheet so please excuse the lack of information.
    However you should from this be able to see what I'd like.

    Case worker opens supervision sheet, picks their name from drop down in "E3"
    and clicks update button.

    The script...filters the master list to only the clients the caseworker is working with....it then copies the information required for clinical supervision.

    It would also be nice if at the end, the resulting document was automatically saved with a logical "Caseworker Name dd.mm.yyyy supervision.xls" or like name. the date could possibily be grabed from the date at the top of the page that is always "today"

    Hope this helps
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-04-2007
    Posts
    9
    Not sure how I'm going to use this but I think it will come in handy

    AutoFilter

    Please Login or Register  to view this content.

    How would return the excel sheet to normal afterwards??
    Could I just change the code to:

    Please Login or Register  to view this content.
    or somthing to make the dropdown validation box be the filter criterial
    I know it's wrong, but I'm not sure how to make it right

  6. #6
    Registered User
    Join Date
    06-04-2007
    Posts
    9
    Also found this code:
    Please Login or Register  to view this content.
    Which could hide the columns I don't want to copy and then reverse it at the end of the script after the copying is done....A few more scripts needed: Copy visable and paste in correct position with out disrupting formating.

  7. #7
    Registered User
    Join Date
    06-04-2007
    Posts
    9
    another piece of the puzzle

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-04-2007
    Posts
    9
    A little More

    Special PAste

    Please Login or Register  to view this content.
    I think this will paste only the values and no formats

    I can find the code but I need just a little help putting it together...as I'm now sure how to define...things like where I want it to paste etc.

  9. #9
    Registered User
    Join Date
    06-04-2007
    Posts
    9
    I think this is the last piece...now they just need to be string together

    Please Login or Register  to view this content.
    Not sure how to make the parts between "???" work

  10. #10
    Registered User
    Join Date
    06-04-2007
    Posts
    9
    Ok here is what I've got so far...but it obviously doesn't work...I don't know how I'm going make it work...but we'll get there.

    Please Login or Register  to view this content.

+ 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