List Box Scroll Bar does not Select

P

Pat Cortez

I have a list box of months in a year. When I use the scroll bar to navigate
to, say, March and click OK, March is not noted as the selected month. I
actually have to click on March for it to be selected. Is there any code
that will tie using the scroll bar to select? Thanks for any assistance. Pat
 
J

Jean-Guy Marcil

Pat Cortez was telling us:
Pat Cortez nous racontait que :
I have a list box of months in a year. When I use the scroll bar to
navigate to, say, March and click OK, March is not noted as the
selected month. I actually have to click on March for it to be
selected. Is there any code that will tie using the scroll bar to
select? Thanks for any assistance. Pat

What's wrong with clicking?
As long as you do not click, Word will not know that the value changed...
Just scrolling does not change the control's Value, Selected or ListIndex
values. You have to click to indicate that you are making a change.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top