- ©«¤l
- 2833
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2889
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-12
|
Private Sub ComboBox1_Change()
Dim xR As Range, Arr
Set xR = [B5].Cells(1, ComboBox1.ListIndex + 2)
Arr = Range(xR, xR.End(xlDown))
If xR(2) = "" Then Arr = Array(xR.Value)
ComboBox2.List = Arr
End Sub
End(xlDown)¡@·í¸ÓÄæ¥u¦³¤@Ó¤¸¯À©Î¥þªÅ®É¡A¥i¯à¦³°ÝÃD¡A
©Ò¥H¥[¤JIf xR(2) = "" Then §PÂ_¡A
¤S³æÓ¤¸¯ÀµLªk§Î¦¨¡e°}¦C¡f¡A¥H.List±a¤J·|¿ù»~¡A
¬G¥H¡@Arr = Array(xR.Value)¡@±N³æ¤@¤¸¯ÀÂন°}¦C¡A
¦ý¸ê®Æ¤£³sÄò®É¡AEnd(xlDown)¡@¬OµLªk§ì¨ì¥þ³¡¸ê®Æ¡A³o³¡¥÷¤]¶·ª`·N¡ã¡ã |
|