On a UserForm I have a ListBox and I want to delete both scroll bars. The side one only shows when necessary but the botom one shows until the width of the listbox equals or exceed 75. From the help files I have tried the following:
ListBox1.KeepScrollBarsVisible = fmScrollBarsNone
UserForm1.ListBox1.KeepScrollBarsVisible = fmScrollBarsNone
UserForm1.ListBox1.ScrollBars = fmScrollBarsNone
ListBox1.ScrollBars = fmScrollBarsNone
ListBox1.ScrollBars = False
ListBox1.ScrollBars = 0
How do I get rid of the bottom scrollbar?
Edit: These were put in the UserForm Initialize section.
_________________
George
Learn to listen. Opportunity sometimes knocks very softly.
This message was edited by GeorgeB on 2002-08-31 11:59
ListBox1.KeepScrollBarsVisible = fmScrollBarsNone
UserForm1.ListBox1.KeepScrollBarsVisible = fmScrollBarsNone
UserForm1.ListBox1.ScrollBars = fmScrollBarsNone
ListBox1.ScrollBars = fmScrollBarsNone
ListBox1.ScrollBars = False
ListBox1.ScrollBars = 0
How do I get rid of the bottom scrollbar?
Edit: These were put in the UserForm Initialize section.
_________________
George
Learn to listen. Opportunity sometimes knocks very softly.
This message was edited by GeorgeB on 2002-08-31 11:59