更新时间:2023-12-06 12:07:34
将ColumnHeads设置为True仅当组合框的ListFillRange设置为工作表上的范围时才有效,而不是使用AddItem填充组合框。
Setting ColumnHeads to True only works if the ListFillRange of the combo box is set to a range on a worksheet, not if you populate the combo box using AddItem.
如果设置ListFillRange,则紧接在上面的行范围将用作列标题。您不能单独指定列标题。
If you set the ListFillRange, the row immediately above that range will be used as column header(s). You cannot specify the column headers separately.