+ Reply to Thread
Results 1 to 11 of 11

excel16, autocomplete drop-down list

  1. #1
    Registered User
    Join Date
    10-09-2018
    Location
    canada
    MS-Off Ver
    2016
    Posts
    43

    excel16, autocomplete drop-down list

    hi,
    can u pls help, ive created 2 combo box and added some codes in attached excel for autocomplete drop down.
    combo box to be added in cells b2 (country) and b3 (name) instead of the drop down validation list.
    Or is there another alternatives to do that?

    The combo shoud take values of the dropdown sheet and populate cell c2 & c3 after combo box selection.
    values in cells status to be populated according to the selection done.

    Pls help
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-19-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: excel16, autocomplete drop-down list

    Hi Akika,

    I will always recommend that you use ActiveX Controls rather than Form Controls. In my opinion, it's easier to call the property names when using VBA codes.

  3. #3
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: excel16, autocomplete drop-down list

    Like this?
    Attached Files Attached Files
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    10-09-2018
    Location
    canada
    MS-Off Ver
    2016
    Posts
    43

    Re: excel16, autocomplete drop-down list

    yes that right .. thxs a lot its working

  5. #5
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: excel16, autocomplete drop-down list

    Glad to help

  6. #6
    Registered User
    Join Date
    10-09-2018
    Location
    canada
    MS-Off Ver
    2016
    Posts
    43

    Re: excel16, autocomplete drop-down list

    hi,
    in the attached combo box for the vba's, how is it possible to default a particular country in the list e.g Canada
    but we should be able to change to another country from the list.

    Any idea?

  7. #7
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: excel16, autocomplete drop-down list

    In the properties of the combobox set the value to Canada.
    Attachment 639323

  8. #8
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: excel16, autocomplete drop-down list

    Use either workbook activate or worksheet activate to set default - post in appropriate module
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    10-09-2018
    Location
    canada
    MS-Off Ver
    2016
    Posts
    43

    Re: excel16, autocomplete drop-down list

    thanks a lot for ur help

  10. #10
    Registered User
    Join Date
    10-09-2018
    Location
    canada
    MS-Off Ver
    2016
    Posts
    43

    Re: excel16, autocomplete drop-down list

    hi,
    how can i lock the drop-down values .. to prevent from deleting the value after selection?

  11. #11
    Registered User
    Join Date
    10-09-2018
    Location
    canada
    MS-Off Ver
    2016
    Posts
    43

    Re: excel16, autocomplete drop-down list

    ive used combobox Style property to 2-fmStyleDropDownList.. and its ok.

+ 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. AutoComplete on a Drop down box
    By moreno5 in forum Excel General
    Replies: 2
    Last Post: 05-21-2019, 03:50 AM
  2. Drop down list with autocomplete function by double-clicking is not working
    By Andrewstupendo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-31-2018, 04:36 PM
  3. Replies: 23
    Last Post: 03-06-2017, 03:36 AM
  4. Replies: 7
    Last Post: 08-17-2015, 03:53 PM
  5. Drop down list/autocomplete
    By Offeror in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-25-2014, 06:02 AM
  6. AutoComplete Drop-Down LIST with sub elements
    By abdulla07 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2013, 08:01 AM
  7. Autocomplete Date Validation List drop-down
    By adds007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2011, 02:06 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