vba listbox ColumnHeadsªºªíÀY
- ©«¤l
- 8
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 11
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2016-5-24
- ³Ì«áµn¿ý
- 2016-7-9
|
vba listbox ColumnHeadsªºªíÀY
¶Ù¡A¤j®a±ß¦w :
·Q½Ð±Ð¤@¤UVBAªí³æ¸Ìªºlistbox¡A¤Á³Î¦nÄæ¦ì«á¡A«ç»ò·s¼WªíÀYªº¤å¦r¤W¥h¡A¦p¤U¹Ï¡A
Google¤@¨Ç¤å³¹¡A³£¨S¦³¬Ý¨ì¦X¾Aªº¡A¯S¨Ó½Ð±Ð¤j®a¡AÁÂÁÂ
___
|
|
|
|
|
|
|
- ©«¤l
- 8
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 11
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2016-5-24
- ³Ì«áµn¿ý
- 2016-7-9
|
¦^´_ owenchen0911
listbox¡A¤Á³Î¦nÄæ¦ì«á???
ListBox nÅã¥ÜColumnHeads,²M³æªº¨Ó·½¥²»Ý¥Î.RowSour ...
GBKEE µoªí©ó 2016-6-2 07:57
Hi,
§Úªºcode¦p¤U¡A³o¼Ë¤l¤l¶µ¥Ø¥i¥H¥[¶i¥h¡A¨º»òÀYÁÙ¥i¥H¥Î "ColumnHeads"¶Ü??ÁÂÁÂ- ListBox1.ColumnCount = 7
- ListBox1.ColumnHeads = True
- '¼W¥[¶µ¥Ø¶i¥h
- IListRow = ListBox1.ListCount
- ListBox1.AddItem ComboBox_drink_name
-
- ListBox1.List(IListRow, 1) = priceArray(ComboBox_drink_name.ListIndex)
- ListBox1.List(IListRow, 2) = ComboBox_number
- ListBox1.List(IListRow, 3) = ComboBox_number * priceArray(ComboBox_drink_name.ListIndex)
- ListBox1.List(IListRow, 4) = ComboBox_ice
- ListBox1.List(IListRow, 5) = ComboBox_sugar
- ListBox1.List(IListRow, 6) = ComboBox_takeout
-
- xItemCount = xItemCount + 1
½Æ»s¥N½X |
|
|
|
|
|
|