这个属性是用来返回listbox的指定列的value的,如果我想返回listbox中第2列到第4列的value集合怎么弄啊?
要这么多的话,用数组好了
Arr=Listbox1.list
或者
for i=0 to listbox1.listcount-1
for j=1 to 3
debug.print listbox1.list(i,j)
next j
next i
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )
GMT+8, 2024-5-17 05:26 , Processed in 0.220805 second(s), 8 queries , Gzip On, Yac On.
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.