问题
I'm using a userForm in vba and I have a list box. I want to remove the horoz. scroll bar from the bottom. Is there a way to do this? I don't see any option in the properties box.

回答1:
This can occur when you have the column width format property of the listbox set to something wide, then you size the control to the data, it will show the scroll bars.
To fix this, change the "Column Width" property under the format tab to something really small, then play around with this property and the size of the listbox control until you get it how you want, and no scroll bars are displayed.
回答2:
Try making the listbox a little wider.... not mucn wider, but just enough to get rid of the horizontal scroll bar.
Maybe that will work.
回答3:
Click on the Userform. Under the Property Stats, look for KeepScrollBarsVisible.
Change it to 0 - fmScrollBarsNone
I was working with this for two hours - trying to find the answer in the ListBox. It is NOT there!
Jim
回答4:
I declared columnwidth in start of form and it works like a charm!
回答5:
You need to set the property ListWidth of the listbox or combobox bigger than the property ColumnWidth.
The first beeing the size of what you show on screen, and the second beeing the size of what you want to put inside the first.
来源:https://stackoverflow.com/questions/5638129/remove-the-scroll-bar-on-a-list-box