+ Reply to Thread
Results 1 to 4 of 4

Excel VBA use userform to filter data and copy filtered data to new sheet

  1. #1
    Registered User
    Join Date
    01-26-2017
    Location
    IRELAND
    MS-Off Ver
    2016
    Posts
    17

    Excel VBA use userform to filter data and copy filtered data to new sheet

    Hi, I have a code that is used to copy filtered data to a new sheet. see code below.
    but i cant seems to get the code working. the code is copying the data to new sheet but its not filtering it. i have tried varies autofilter functions and still cant get it to work.
    can anyone help me on this.

    I have a dropdown list of the users name in the combobox1.

    Thank you in advance

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Excel VBA use userform to filter data and copy filtered data to new sheet

    Please Login or Register  to view this content.
    What exactly is listed in Combobox1 ? If the dropdown list has the text "True" and "False", then try this with quotes...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    01-26-2017
    Location
    IRELAND
    MS-Off Ver
    2016
    Posts
    17

    Re: Excel VBA use userform to filter data and copy filtered data to new sheet

    the Combobox1 lists user names. that I have a code in the userform.

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,241

    Re: Excel VBA use userform to filter data and copy filtered data to new sheet

    Please Login or Register  to view this content.
    Last edited by daboho; 10-31-2018 at 09:39 AM.

+ 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 and copy filtered data to another sheet based on combobox selection
    By prince82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-09-2015, 11:09 PM
  2. Filter sheet data with ComboBoxes, then Update UserForm with filtered sheet data
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2015, 05:59 AM
  3. Macro that can filter excel data and copy the filtered data to another worksheet
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2013, 02:43 PM
  4. Macro Excel to copy filtered data to another sheet
    By michelgirault in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2013, 02:23 PM
  5. Filter, copy filtered data into another sheet, create a file of that sheet..
    By titushanke in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-17-2012, 02:26 PM
  6. Replies: 5
    Last Post: 05-23-2012, 10:33 AM
  7. Replies: 5
    Last Post: 12-13-2011, 12:40 AM

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