+ Reply to Thread
Results 1 to 3 of 3

search engine using textbox and combobox

  1. #1
    Registered User
    Join Date
    01-01-2017
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    2

    search engine using textbox and combobox

    Hai, i have create a search engine using a textbox and combobox. user will need to choose column from combobox and enter the value in textbox to filter. this filtered data then will be display in the listbox.

    example;
    Combobox value is "Commune", "Client", "Year"
    I choose column "Year" from combobox and enter "1958" in the textbox then when i click SEARCH button, all data regarding year 1958 will display in the listbox.

    The problem is, when i choose "Commune" it give out error permission denied on line
    And when i choose "Client" and "Year", nothing happen.. data is not filtered
    This is my code, do you have any idea??

    Please Login or Register  to view this content.
    p/s: the listbox is filled with data source "myData"
    Last edited by blxckish; 01-02-2017 at 12:05 AM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: search engine using textbox and combobox

    Which line of code does the error happen on?

    Can we see the file?

    BSB

  3. #3
    Registered User
    Join Date
    01-01-2017
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    2

    Re: search engine using textbox and combobox

    Hai, sorry for the late reply. it give out error permission denied on line Me.ListBox1.AddItem
    attached is my workbook ;
    Attached Files Attached Files

+ 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. Userform search engine depended combobox
    By prinsr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2016, 12:02 PM
  2. using userform textbox to search instead of combobox
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2013, 02:06 PM
  3. combobox and textbox search engine
    By darkhangelsk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2013, 07:16 AM
  4. combobox and listbox search engine
    By darkhangelsk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2013, 09:47 AM
  5. Search Data using Combobox Textbox and Listbox
    By Adrastia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2012, 05:27 AM
  6. Search data with textbox and combobox
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-13-2012, 06:59 PM
  7. Returning search from textbox and combobox conbined
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-01-2011, 01:15 PM

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