LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to ask for a item# and then show all details for that item Durai Excel Discussion (Misc queries) 5 December 4th 09 08:17 PM
If certain item is picked, then text added... roger_home Excel Discussion (Misc queries) 6 February 12th 06 10:39 PM
in a excel file, how to make a menu item for the .xls file that when clicked on it runs myform.show? example plz Daniel Excel Worksheet Functions 1 July 7th 05 03:52 AM
Opening item from Listbox... Need Help :P jaysen[_3_] Excel Programming 14 June 25th 05 10:23 PM
The value of a ListBox Item TK Excel Programming 2 August 20th 04 06:17 AM


All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"