How can I add a horizontal scrollbar to a VBA ListBox

后端 未结 6 1055
星月不相逢
星月不相逢 2021-01-14 00:49

I\'d like to add a horizontal scrollbar to a VBA ListBox.

It appears that the built in ListBox does not add a horizontal scrollbar automatically. I have a number of

6条回答
  •  星月不相逢
    2021-01-14 01:31

    Access will automatically add a horizontal scrollbar if the column width exceed the width of the listbox. HOWEVER, if you are using multiple columns, the first column cannot be set to 0. You must have at least some value in there, even if it's just 0.1" Hope this helps.

提交回复
热议问题