![]() |
Controlling Listbox Scroll Bars
I have a listbox that gets populated with several items. When the list is
longer than the listbox, scrollbars (both vert & horiz) appear, even though there is nothing to scroll horizontally. In userforms you can use object.scrollbars = 2 to limit this to vertical scrollbar only. Is there a way of doing this with listboxes? I don't see a scrollbars property for my listbox. Thanks for the help. Mike |
Controlling Listbox Scroll Bars
change the width of the listbox so it is slightly wider than the width of
the column (or all columns if multiple columns). -- Regards, Tom Ogilvy "Mike Milligan" wrote in message ... I have a listbox that gets populated with several items. When the list is longer than the listbox, scrollbars (both vert & horiz) appear, even though there is nothing to scroll horizontally. In userforms you can use object.scrollbars = 2 to limit this to vertical scrollbar only. Is there a way of doing this with listboxes? I don't see a scrollbars property for my listbox. Thanks for the help. Mike |
All times are GMT +1. The time now is 09:17 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com