+ Reply to Thread
Results 1 to 2 of 2

Trigger "advanced filter" macro from a different sheet

  1. #1
    Registered User
    Join Date
    10-14-2011
    Location
    Papenburg, Germany
    MS-Off Ver
    Excel 2007
    Posts
    12

    Trigger "advanced filter" macro from a different sheet

    Hi all, I've been trying to figure out a workaround for this, but I can't seem to find a solution.

    I want to use a macro to set an advanced filter that filters data on sheet 1 based on criteria on sheet 2 and pastes it onto sheet 3. Before pasting the filtered data onto sheet 3, I empty the sheet. The macro is triggered by selecting the filter from a drop-down combo box. Now I've got it all set-up and running, but I want to place the combo box on another sheet (sheet 4) for user convenience.

    I thought about placing another combo box with identical content on sheet 4 and linking it to the combo box on sheet 1, but I couldn't figure out how to do that.

    Here's the code I use:
    Please Login or Register  to view this content.
    "DB", "EU2_Block45_46_47_FZ04", and "DBF" are defined names. I have 21 Filters and a macro for each of them.

    Any help would be highly appreciated! I'm a VBA novice, but if your time is short and you have a solution at hand which you don't want to explain in detail, just drop me the code and I'll figure out how to use it

    Nick
    Last edited by nholtappels; 12-22-2011 at 08:58 AM.

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

    Re: Trigger "advanced filter" macro from a different sheet

    I'm not clear where your criteria are, etc

    Your code needs to refer to the sheets, something like this

    Please Login or Register  to view this content.
    Hope that helps.

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

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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