Help required-List boxes -2

Raymond_India

Board Regular
Joined
Nov 7, 2008
Messages
68
:confused:

I have 4 listboxes on a form. They all contain data from a spreadsheet. The data is quite extensive (say 2000 rows) All the listboxes have scrollbars on the right hand side which means that all list boxes can be scrolled up and down. Unfortunately if only one list box is scrolled and the rest is not scrolled along with it, the data that is displayed loses it relevance because of the simple fact that it will not relate to the data on the corresponding listbox.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
What i want is, a macro that would move the scrollbars of all 4 listboxes simultaneously in a sychronised fashion so that when the scroll bar of listbox1 is moved up or down, the other list boxes also changes accordingly<o:p></o:p>
<o:p></o:p>
(Just think of a billing clerk in a supermarket scrolling through an an invoice on a computer screen, all the relevant colums scroll together right, thats exactly what i want)<o:p></o:p>
<o:p></o:p>
Please revert if my question is not clear. I'll try to reframe it in a different way.<o:p></o:p>
<o:p></o:p>
Thanks<o:p></o:p>
<o:p></o:p>
Ray<o:p></o:p>
 
It sounds like a single listbox with 4 columns might be an idea.

The difficulty with the 4 LB approach is detecting when the scroll bar is scrolled.
 
Last edited:
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top