ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Horizontal scroll bar (https://www.excelbanter.com/excel-programming/429147-horizontal-scroll-bar.html)

[email protected]

Horizontal scroll bar
 
Hi all, anyone can teach me how to make the horizontal scroll bar in
list box?
actually, the vertical scroll bar is appeared automatically whehn the
contents are more than list box size. However, a created a list box to
show the path of the files. Since the path is so long and longer than
the list box, thus, I / users not able to read the full path..... can
you help?

Bob Bridges[_2_]

Horizontal scroll bar
 
I looked at the documentation for the ListBox object in VBA and didn't see
anything about a scroll bar, vertical or horizontal, among the properties.
Maybe that's not one of the things you can control, though it would surrise
me.

--- " wrote:
Hi all, anyone can teach me how to make the horizontal scroll bar in
list box?
actually, the vertical scroll bar is appeared automatically whehn the
contents are more than list box size. However, a created a list box to
show the path of the files. Since the path is so long and longer than
the list box, thus, I / users not able to read the full path.


Rick Rothstein

Horizontal scroll bar
 
If you are using an ActiveX ListBox, just set the ColumnsWidths property to
a number large enough to show your longest item.

--
Rick (MVP - Excel)


wrote in message
...
Hi all, anyone can teach me how to make the horizontal scroll bar in
list box?
actually, the vertical scroll bar is appeared automatically whehn the
contents are more than list box size. However, a created a list box to
show the path of the files. Since the path is so long and longer than
the list box, thus, I / users not able to read the full path..... can
you help?




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com