如何在VBA

时间:2016-10-20 11:57:44

标签: excel-vba userform listboxitem vba excel

使用ListBox1

.AddItem "OG Orders"
.AddItem "OG Sales"
.AddItem "GM"
.AddItem "GM% (YEF)"
.AddItem "GM% (Quarter)"
.AddItem "SFC"
.AddItem "SFC% (YEF)"
.AddItem "SFC% (Quarter)"
.AddItem "CM"
.AddItem "CM% (YEF)"
.AddItem "CM% (Quarter)"

结束

我使用以下项创建了此列表框。我想根据用户选择动态删除一些项目。可能吗?我尝试过使用IF循环,但它没有用。

0 个答案:

没有答案