- ©«¤l
- 1
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 7
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- win7
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-2-14
- ³Ì«áµn¿ý
- 2012-6-17
|
[µo°Ý] VBA ComboBox Group data select
my table on Excel worksheet
Group Name
1 Sony
1 TAN
2 JOHN
1 SEVEN
2 OKOK
2 MAY
4 ZOO
3 KELVIN
3 KEN
1 STEVEN
4 EVA
1 SANDY
my form code is below
****************************************************************************
Private Sub UserForm_Initialize()
Dim myAr As Variant
myAr = Worksheets("Sheet1").Range("A1:b20").Value
myAr = WorksheetFunction.Transpose(myAr)
With ComboBox1
.Width = .Width * 2
.ColumnCount = 2
.Column = myAr
End With
End Sub
****************************************************************************
in this form i need only slow only 1 Gorup data with column.
eg. only slow group 1 to choose.
combobox.zip (11.47 KB)
|
|