+ Reply to Thread
Results 1 to 3 of 3

ComboBox Backspace Strange Behaviour

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    Neverland
    MS-Off Ver
    Excel 2010
    Posts
    1

    ComboBox Backspace Strange Behaviour

    Hi there,
    I've got a problem with a Combobox working with autofill. It's filled with names out of
    a table. If I enter the beginning of a name, it proposes me full names.
    Now, if I enter by mistake one letter more, for which the ComboBox finds no entry , I want to
    delete the last two letters with backspace. The first one works, but on the second one I have to press
    Backspace twice.
    Example:Name starts with Po, ComboBox suggests entry, I enter Poi, no entry found.
    I delete the i now, it works, then the o, have to press backspace twice to delete it.
    Any clues why this happens? Thanks!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: ComboBox Backspace Strange Behaviour

    How are you populating the combobox?

    Also, does it have any code associated with it, eg a change event?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    05-06-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    41
    Quote Originally Posted by Norie View Post
    How are you populating the combobox?

    Also, does it have any code associated with it, eg a change event?
    Hi Norie,

    I'm new to forums, so I'm not sure if it's considered to be 'hijacking' if I jump in here: my question is exactly the same as the one stated in the opening post.

    In answer to the questions you asked: I have populated my combobox with the rowsource property. And I have code associated in the Change event and the BeforeUpdate event. I've got the combobox behaving almost exactly as I want it to with the exception of being able to backspace/delete in a conventional manner.

    Do I need to provide more information?
    (I'm also new to userforms and VBA. I don't know best practices - I'm just trying to make things work.)

    I see this is also an old post, so I'm not sure if I can expect an answer.
    I'd be grateful for any assistance.

    Cheers,
    Melpa

+ 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. Unable to clear combobox content with Backspace
    By Martinbl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2012, 12:31 PM
  2. Unable to clear combobox content with Backspace
    By Martinbl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2012, 04:41 PM
  3. Enable backspace key in combobox on Userform
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2011, 05:35 PM
  4. Register backspace within a combobox change event
    By Newbie_Nick in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2010, 07:24 AM
  5. [SOLVED] Strange VBA Behaviour
    By Ricko in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2005, 03:05 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