Highlight a row in a listbox

R

Ripan

I have a listbox in a userform. A user either selects "New" or the nam
of an existing data entry to open up a form and enter data.

The user can also select an existing entry and delete an item.

What I want to know is if there is a way for the form to initializ
with the first row in the listbox selected AND highlighted. I've trie
manipulating the ListIndex and Selection members, but have not ha
luck.

Anyone have any suggestions?

In case it helps, I'm runinng Excel 2002 on Windows 2000

Thank
 
R

Ripan

I have tried that, and the listindex value changes, but the value is no
highlighted.

Do I need to use SetFocus
 
Top