+ Reply to Thread
Results 1 to 6 of 6

Filter for Dynamic Fields & Criteria and copy to other sheet

  1. #1
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Filter for Dynamic Fields & Criteria and copy to other sheet

    Hello Again,

    I am looking for help to apply Filter for Dynamic Fields & Criteria and copy to other sheet.

    I am receiving data with changes in columns from F to column P. Sometimes there is only 1 column as BB (Column F) or sometimes I am getting 4 columns let say VIP+ (Column F), AA (Column G), BB (Column H) & C+ (Column I).

    So it is very hard to apply filter through VBA macros. If the format is standard then it is working if it is non-standard filter cannot be applied to copy to other sheet.
    Explanation:

    If a user select VIP+ ON userform Combobox1 and VIP on userform combobox2 then the filter must be applied on columns 6 and 7. Column 6 (VIP+) value is dot and Column 7 (Blanks) values as blanks.

    If a user select AAA ON userform Combobox1 and B on userform combobox2 then the filter must be applied on columns 8 and 13. Column 8 (AAA) value is dot and Column 13 (Blanks) values as blanks.
    Last edited by Abdur_rahman; 12-02-2016 at 01:25 AM.

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Filter for Dynamic Fields & Criteria and copy to other sheet

    For Dynamic Fields

    Please Login or Register  to view this content.
    Kind regards
    Leo

  3. #3
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Filter for Dynamic Fields & Criteria and copy to other sheet

    Thanks for your response.

    your script is working well if both combobox have value which is matching on the row 1. but it is popping up an error "Run-time error '13': Type mismatch" when combobox1 have value and combobox2 is empty.

    Why this procedure is the policy is having only a single network then it should select <> for combobox1. it should filter only the single selected value.

  4. #4
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Filter for Dynamic Fields & Criteria and copy to other sheet

    After some workout I came up with the below code. But the below code I displaying the entire list of networks but I need to display on those networks which is available on the sheets.

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Filter for Dynamic Fields & Criteria and copy to other sheet

    The only NETWORK i find is the sheet name of 1 of the sheets


    Sheers
    Leo

  6. #6
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Filter for Dynamic Fields & Criteria and copy to other sheet

    Its OK.

    With your little help I will manage to do that also.

    Thanks for your help.

+ 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. Filter, Copy, Paste in a new sheet and give heading based on criteria
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2016, 09:54 AM
  2. [SOLVED] Copy various fields from one workbook to various fields in another by criteria
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 04-26-2016, 03:55 PM
  3. Filter and copy non continguos columns (criteria by Date another sheet)
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2015, 12:36 PM
  4. filter data based on criteria and copy to another sheet
    By anbarasi_r in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2015, 09:56 PM
  5. [SOLVED] excel macro Filter all sheets with same criteria and copy results to new sheet
    By cpramesh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2014, 07:13 AM
  6. Filter for Two Criteria and Unique list copy another sheet
    By rr1050 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2014, 10:36 PM
  7. [SOLVED] Loop through Auto Filter Criteria and Copy Formula Results Into New Sheet
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-21-2014, 05:34 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