Solved

Combo box always showing last item

Posted on 2002-04-24
6
123 Views
Last Modified: 2010-05-18
I have combo box with the  following properties:
sorted = True
style= 2-Dropdown List

I fill some number series in this combo,
e.g AC01010001,SAC01010002,SAC01010003,SAC01010004........


Now when i click first or any item from this combo it always take me to last one.
i.e if i select SAC01010001, it take me to SAC01010004

What can be the reason?
0
Comment
Question by:sachin_raorane
6 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 6965339
There must be some code in the click or change event handler, otherwise there is no reason.
Please verify (eventually post) your relevant code.

CHeers
0
 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965383
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965384
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965385
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7660864
sachin_raorane, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Accept angelIII's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7755426
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now