Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

srolling listboxs

Posted on 1998-07-31
1
Medium Priority
?
137 Views
Last Modified: 2010-05-03
how can i scroll the contents of 2 list boxes simultaneously??????
0
Comment
Question by:wenchang
1 Comment
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 600 total points
ID: 1467337
If you have 2 lists, List1 and List2:


Private Sub List1_Scroll()
 List2.TopIndex = List1.TopIndex
End Sub


Private Sub List2_Scroll()
 List1.TopIndex = List2.TopIndex
End Sub
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question