How can I add a horizontal scrollbar to a VBA ListBox

后端 未结 6 1059
星月不相逢
星月不相逢 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:09

    Did you try ColumnWidths property? I have listbox with horizontal scroll bar. I just had to add ColumnWidths property.

    For example I have

    me.Listbox1.Columnwidts ="0.5 in;0.2 in;1.5 in;0.75 in;0.5 in"

提交回复
热议问题