+ Reply to Thread
Results 1 to 2 of 2

How to use autocomplete in a combobox using Change function

  1. #1
    Registered User
    Join Date
    12-06-2015
    Location
    Uganda
    MS-Off Ver
    2013
    Posts
    1

    Unhappy How to use autocomplete in a combobox using Change function

    I have a code for a combo box (cmbVillage) that will be executed when the value of the combo box changes. But the problem is that this code enable the combo box to use the Autocomplete feature because as soon as we enter a letter the combo box start the execution of the code.

    Any idea to have the Autocomplete and also the code running?

    Private Sub cmbVillage_Change()
    Dim Card As String
    Dim r As Long

    Application.Cursor = xlWait
    .....



    Thank you,

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: How to use autocomplete in a combobox using Change function

    Try changing the buttons default property in VBA editor to True. I that doesn't work, try this...
    Please Login or Register  to view this content.
    Edit* This will allow the code to run after the Enter key is pressed
    Last edited by gmr4evr1; 12-06-2015 at 10:22 AM. Reason: Added Edit*
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ 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. [SOLVED] Data Validation + ComboBox Autocomplete
    By kiwi_harry in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2014, 10:15 PM
  2. Excel 2011 AutoComplete ComboBox
    By flo_excel in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 04-02-2013, 01:14 PM
  3. [SOLVED] AutoComplete TextBox or ComboBox
    By mkachwee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-18-2012, 07:08 PM
  4. Autocomplete on combobox
    By Fr0sT in forum Excel General
    Replies: 4
    Last Post: 02-29-2012, 05:20 PM
  5. autocomplete combobox not repeating on other sheets
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2011, 06:21 AM
  6. Replies: 5
    Last Post: 04-29-2009, 07:27 PM
  7. [SOLVED] AutoComplete - Forms Combobox
    By Sige in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2005, 05:20 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