Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Scrolling a lstBox automatically

Hello
was wondering if someone had an idea how to get past thi

I've got a lstbox on a form that I continually write to - as in a progress indicator - but when I write to the 7th entry I run out of screen space and a scroll bar turns up and the new txt can no longer be seen. Is there anyway to have the lstbox automatically scroll so the last entry is alway shown

than
Nichevo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Scrolling a lstBox automatically

Don't worry found a solution

ProgBar2.lstMsgWin.AddItem tx
If ProgBar2.lstMsgWin.ListCount = 8 The
ProgBar2.lstMsgWin.RemoveItem
End I

Through if anyone knows a easy way to scroll the lstbox instead of removing the first item each time I wouldn't mind knowing
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Scrolling a lstBox automatically

Hi Nichevo,

Through if anyone knows a easy way to scroll the lstbox instead of removing the first item each time I wouldn't mind knowing


If this is a list box on a userform, take a look at the TopIndex property.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.co.uk


Reply
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
How do I stop from automatically scrolling to the right? Tom Excel Discussion (Misc queries) 4 August 14th 07 06:14 PM
Vertical scrolling...jumps rather than smooth scrolling Miller Man Excel Discussion (Misc queries) 2 January 23rd 07 07:11 PM
Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel, even 2007 beta [email protected] Excel Discussion (Misc queries) 2 July 21st 06 01:21 AM
Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel 2003 [email protected] Excel Discussion (Misc queries) 0 May 12th 06 03:15 AM
Automatically scrolling to top of worksheet VanS Excel Worksheet Functions 0 May 25th 05 06:50 PM


All times are GMT +1. The time now is 02:10 PM.

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

About Us

"It's about Microsoft Excel"