View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ai_Jun_Zhang[_6_] Ai_Jun_Zhang[_6_] is offline
external usenet poster
 
Posts: 1
Default How to make listbox show the last item being added?


Hi!

I have a list box in a form and it shows the running status. Fo
example,
many status are added to the list box as

lstStatus.AddItem Doing action 1
lstStatus.AddItem Doing action 2
lstStatus.AddItem Doing action 3
lstStatus.AddItem Doing action 4
lstStatus.AddItem Doing action 5
lstStatus.AddItem Doing action 6
...
...

so on.

As more actions are added to the list box, the list box does no
automatically scroll down to show the latest one and user can only se
the first few ones that fit into the height of the list box.

My question is: how to make list box automatically scroll down to sho
the last item that is added to the list box.?

Please advise.

Aijun

--
Ai_Jun_Zhan
-----------------------------------------------------------------------
Ai_Jun_Zhang's Profile: http://www.excelforum.com/member.php...fo&userid=2547
View this thread: http://www.excelforum.com/showthread.php?threadid=40017