+ Reply to Thread
Results 1 to 9 of 9

Input Filtered DataBase into Userform Listbox by clicking cmd

  1. #1
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Input Filtered DataBase into Userform Listbox by clicking cmd

    Hello you all,

    I need help to put a filtered database into a listbox on a userform by clicking on a button.

    The button is "Mostrar Orçamentos" although it only shows the first column and without any headers.

    I need to put that data into that userform with Headers and only the filtered ranges

    I have a named range called "outdata" that i am putting on rowsource that is the usedrange

    Hope you can help me out

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    If anyone has any question let me know.

    The Userform in doubt is "frmBaseDadosClientes"

  3. #3
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    Already managed to input the database filtered on the listbox, although it only allows me to do that if i fill ALL 3 CRITERIA COMBOBOX, if i only fill 1, 2 or none, it gets me an error of "object required"

    Excel file is attached, Just click on the CMD button of "ENCOMENDAS" Then use the combobox's and above textbox to the criteria and test with the cmd, "mostrar Clientes"

    Hope someone can help me out, putting this more flexible
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    Hello brainzip,

    This worked for me.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    Quote Originally Posted by Leith Ross View Post
    Hello brainzip,

    This worked for me.
    Hello,

    First of all, thank you for your time

    I can't see how does that work, please check my updated File, and what i need is:
    - Filter by the criteria A2:C3
    - FILTER In the same place
    - Put the visible rows in the listbox
    - put the headers as well

    My final goal of this work is: Add ID, filter ID by several (criterias = combobox choose column + textbox choose texto to search), display ID's, Edit ID

    Hope you can help me out
    Attached Files Attached Files
    Last edited by brainzlp; 11-06-2016 at 02:20 PM.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    Hello brainzip,

    This version is radically different from your first post. At present, this is too large a project for to me. I simply can not devote the time needed to help you refine your code.

    Hopefully, some other member in the forum has the time to help you with this.

    Beir buaidh!
    (Best of luck!)

  7. #7
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    Quote Originally Posted by Leith Ross View Post
    Hello brainzip,

    This version is radically different from your first post. At present, this is too large a project for to me. I simply can not devote the time needed to help you refine your code.

    Hopefully, some other member in the forum has the time to help you with this.

    Beir buaidh!
    (Best of luck!)
    Its not that different, and its almoço working as you can see. I just need some parte not the total Goa, just help me out with some like display the filtered data after criteria filter

    Thanks you for your time

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    Last edited by zbor; 11-10-2016 at 10:26 AM.

  9. #9
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Input Filtered DataBase into Userform Listbox by clicking cmd

    Can anyone give me some help or hints so i can put this working?

    Thanks for your time

+ 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. Multiple Users input data using Excel Userform to a Common Access Master Database
    By eummagic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2014, 01:45 AM
  2. [SOLVED] Vlookup in UserForm - Get Input from listbox, Lookup in specific table from specific sheet
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2013, 09:00 AM
  3. [SOLVED] populate userform listbox from textbox input
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-05-2013, 10:05 AM
  4. Listbox to Listbox, no duplicates & submitting same UserForm data for each Listbox entry.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2012, 12:18 PM
  5. Select UserForm ListBox Value For Closed WB Input
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2011, 06:02 PM
  6. Populating a userform listbox from a database
    By James_B in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-12-2010, 02:16 PM
  7. Using Filtered Data in Userform Listbox
    By sfinney in forum Excel General
    Replies: 0
    Last Post: 03-18-2005, 11:09 AM

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