+ Reply to Thread
Results 1 to 8 of 8

Custom Auto-Fill Question Similiar To Google

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Custom Auto-Fill Question Similiar To Google

    Quick question for you guys.

    I have a bunch of repetitive data in one of my columns. Is there a way for excel to come up with a drop down menu or something similar when I type data into cells?

    I'm aware of auto-fill but don't like it because it takes 1 or 2 words before auto complete can recognizes what i want to type in. I tried creating a custom list with auto-fill but it only displays a limited selection of the data that i want and kind of takes too long.

    I want excel to offer me suggestion of all similar data when I type the first letter, and that way I can just scroll down and pick the appropriate value. Something like Google does when you typing a search.

    So if you take a look at the excel sheet, when I type something for column 1, I want excel to present the possible selections existing in the above cells. I don't want it to repeat any values when picking a selection. I just want this appear somewhere so that I can easily pick it (Honestly, Personal, Img Below Add, Img No Bottom, Img Alien, Img Enhance, Img Personal, Locations)


    Am I making any sense?

    Can you guys point me in the right direction?
    Attached Files Attached Files

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Custom Auto-Fill Question Similiar To Google

    You could use an Active-X combobox and set the MatchEntry property to match the first letter.

    Here is the idea:
    Advanced Filter is used to copy unique values in the rows above the active cell to another column. This list of unique values then becomes the List source for the control and it is dynamically created each time you move to a new cell.

    See attached example - column-A is set to use the combobox.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Custom Auto-Fill Question Similiar To Google

    Thanks for the reply.

    Can you tell me where to put this code?

    Also, to learn more about this feature or rather what I want excel to do (combobox, active x?), what should I be looking for in my search for information? Active x box, combo box etc?

    Something basic for a new excel user would be ideal.

    Thanks

  4. #4
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Custom Auto-Fill Question Similiar To Google

    Been doing some reading on active x combo boxes and so on. I think I'm on the right track.

    Still don't know where to put the code though?

  5. #5
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Custom Auto-Fill Question Similiar To Google

    The workbook I provided shows where the code goes.

    1. Create an Active-X combo box and open the properties dialog and set the Visible propert to false, then close the properties dialog.

    2. Right-click the worksheet tab and choose View Code

    3. Copy and Paste the entire code into the code window.

    Note: if the combobox you created IS NOT named Combobox1, then revise my code to use the name given to the combobox when you created it.

    4. Close the VB Editor

    My example code/workbook assumes column-A as the range of values and data entry. Change this per your requirements. It also uses column-Z of the same worksheet to hold the list of unique values - this list can be in any column or even on another sheet, but required applicable changes in the code.

    The combobox only becomes visible if the active cell is in the range of A1 to Ax, where x is the last used row, dynamically adjusted each time the code is triggered.

  6. #6
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Custom Auto-Fill Question Similiar To Google

    Works great but I want this to do it for a selct columns - newsletters, from, date. subject and send group. How can I go about this?

    Also is the only way to delete active x boxes through vba coding? There's no easier way to do this?

    Appreciate the help,

    thanks
    Attached Files Attached Files

  7. #7
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Custom Auto-Fill Question Similiar To Google

    Per your last post.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Custom Auto-Fill Question Similiar To Google

    Thank you for the help

+ 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