+ 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
    33

    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
    413

    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
    33

    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
    413

    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
    33

    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
    413

    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
    excel 2016 64bit - Windows 10
    Posts
    1,827

    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
    33

    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
    33

    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
    33

    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)

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