½Ð°Ý¬O§_¦³¤Æ²ªº¤èªk? (¦A¦¸·PÁÂG¤jªºÀ°¦£~§¹¦¨
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# av8d - Sub Ex()
- Dim d As Object, i As Integer
- Set d = CreateObject("Scripting.Dictionary")
- L1C = Label1.Caption
- L2C = Label2.Caption
- L3C = Label3.Caption
- L4C = Label4.Caption
- TB1 = TextBox1.Value
- For i = 1 To 18
- d("GAS" & i) = Chr(64 + i) '¨Ï¥Î¦r¤¸
- If Me.Controls("OptionButton" & i).Value = True Then
- Sheets("ÂIÀ\").Cells(Rows.Count, "A").End(3)(2, 1).Resize(1, 7) = Array(L1C, L2C, L3C, L4C, 1, d("GAS" & i), TB1)
- End If
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 3# av8d - Option Explicit
- Sub Ex()
- Dim d As Object, i As Integer
- Set d = CreateObject("Scripting.Dictionary")
- L1C = Label1.Caption
- L2C = Label2.Caption
- L3C = Label3.Caption
- L4C = Label4.Caption
- TB1 = TextBox1.Value
- For i = 1 To 18
- d("GAS" & i) = Sheet1.Cells(i, "A") '¤£³W«h¤¤¤å¦b A1 - A18
- If Me.Controls("OptionButton" & i).Value = True Then
- Sheets("ÂIÀ\").Cells(Rows.Count, "A").End(3)(2, 1).Resize(1, 7) = Array(L1C, L2C, L3C, L4C, 1, d("GAS" & i), TB1)
- End If
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|