How to add headers to a multicolumn listbox in an Excel userform using VBA

后端 未结 13 2103
[愿得一人]
[愿得一人] 2020-11-30 09:01

Is it possible to set up the headers in a multicolumn listbox without using a worksheet range as the source?

The following uses an array of variants which is assigne

13条回答
  •  忘掉有多难
    2020-11-30 09:30

    Just use two Listboxes, one for header and other for data

    1. for headers - set RowSource property to top row e.g. Incidents!Q4:S4

    2. for data - set Row Source Property to Incidents!Q5:S10

    SpecialEffects to "3-frmSpecialEffectsEtched"

提交回复
热议问题