- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 277
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-12-23
|
¦^´_ 7# ÅQ®ð¨«¥þ¨
ª«¥óÄݩʤ£¦P- Private Sub CboNNN_Click()
- myarray = Array(ComboBox1.Value, ComboBox2.Value, ComboBox3.Value)
- [A65536].End(xlUp).Offset(1).Resize(, 3) = myarray
- For Each a In Array(ToggleButton1, ToggleButton3, ToggleButton5)
- If a.Value = True Then [A65536].End(xlUp).Offset(, 3) = a.Caption: Exit For
- Next
- For Each a In Array(ToggleButton2, ToggleButton4, ToggleButton6)
- If a.Value = True Then [A65536].End(xlUp).Offset(, 4) = a.Caption: Exit For
- Next
- End Sub
- Private Sub UserForm_Initialize()
- ComboBox1.AddItem "A"
- ComboBox1.AddItem "AA"
- ComboBox2.AddItem "B"
- ComboBox2.AddItem "BB"
- ComboBox3.AddItem "C"
- ComboBox3.AddItem "CC"
- ToggleButton1.Caption = "AA"
- ToggleButton2.Caption = "AAA"
- ToggleButton3.Caption = "AAAA"
- ToggleButton4.Caption = "BB"
- ToggleButton5.Caption = "BBB"
- ToggleButton6.Caption = "BBBB"
- End Sub
½Æ»s¥N½X |
|