+ Reply to Thread
Results 1 to 4 of 4

Automating advanced filter - help needed

  1. #1
    Registered User
    Join Date
    11-22-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    8

    Automating advanced filter - help needed

    Hi all, this is my first post, hope I've put it in the right area of the forum. First of all, I'd just like to say that I am a complete dunce where VBA is concerned. This task is my first real attempt at using excel in about 5 years and I have forgotten anything I thought I ever knew. (Basically, I found myself feeling quite smug that I remembered how to do a vlookup )

    OK - so what I'm trying to do is create an automated advanced filter for the attached workbook, placing the filtered data onto new sheets. I need the macro to create 8 new sheets in total, one for each of the areas listed in column F (if the area is "All", I need the data in that row to appear on all of the 8 sheets). I need the process to be automated because the source data on the Master Timetable sheet will be updated/amended regularly. The idea is to click a button and it will be possible to see what work is required for each Area (if there is an easier way of doing this, please let me know , as I said I'm a dunce).

    I tried amending the code that I found here: http://www.contextures.com/AdvFilterRepFiltered.zip spent ages on it, but had issues with ranges etc. and completely failed to get it to work. As I said, I am basically clueless - would be grateful for any help at all whatsoever. May need it to be spelled out very slowly and clearly, though
    Last edited by arlu1201; 05-10-2012 at 11:29 AM. Reason: Removed attachment on OP request.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Automating advanced filter - help needed

    Ok, will try and have something ready for you in the morning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Automating advanced filter - help needed

    Hi Edie0512

    Welcome to the Forum!!

    This code is in the attached...see if it does as you require. Let me know of issues.
    Please Login or Register  to view this content.
    Last edited by arlu1201; 05-10-2012 at 11:30 AM. Reason: Removed attachment on OP request.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Registered User
    Join Date
    11-22-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Automating advanced filter - help needed

    Jaslake - thanks so much for your help (and your offer to help, arlu) the code is working exactly as I wanted it to. Thanks for the welcome, also. I'm sure I will have lots more questions over the weeks to come

+ 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