ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦óÅýÅܼƶ]°j°é?

[µo°Ý] ¦p¦óÅýÅܼƶ]°j°é?

  1. Private Sub CommandButton3_Click()
  2. T1R1 = "¤p©ú"
  3. '¸ê®ÆÂà´«
  4. For i = 1 To 18
  5.     If Me.Controls("OptionButton" & i).Value = True Then
  6.         If i = 1 Then
  7.         Sheets("ÂIÀ\").Cells(Rows.Count, "A").End(3)(2, 1).Resize(1, 7) = Array(L1C, L2C, L3C, L4C, 1, "T1R" & i, TB1)
  8.         End If
  9.     End If
  10. Next i
  11. End Sub
½Æ»s¥N½X
"T1R" & i ¶]¥X¨Óªº­È¤@ª½³£¬OT1R1~
¥i¬O§Ú¤W­±¦³¼g¤@­ÓÅܼÆT1R1="¤p©ú"
©Ò¥H"T1R" & i ¶]¥X¨Óªº­ÈÀ³¸Ó¬O¤p©ú~«ç»ò·|¬OT1R1 ? ¨D¸Ñ¤¤~§Ú¤]§V¤O§ä¸ê®Æ¤¤~¦A¦¸³Â·Ð¦U¦ì¤j¤jÆ[¬Ý!

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-7-24 08:07 ½s¿è

¦^´_ 1# av8d


T1R1="¤p©ú"¡A³o¬O±N¦r¦ê"¤p©ú"«ü©wµ¹ÅܼÆT1R1
"T1R" & i¡A³o¬O¤@­Ó¦r¦ê¹Bºâ¦¡±o¨ì¦¡¤@­Ó¦r¦ê¡A¨Ã«DÅܼÆ
¥H¦r¨åÀx¦s¦r¦ê¹ïÀ³¸ê®Æ«á¡A¦A¨ú¥X¦r¨å¤º®e¸Õ¸Õ
  1. Private Sub CommandButton3_Click()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. d("T1R1") = "¤p©ú"
  4. '¸ê®ÆÂà´«
  5. For i = 1 To 18
  6.     If Me.Controls("OptionButton" & i).Value = True Then
  7.         If i = 1 Then
  8.         Sheets("ÂIÀ\").Cells(Rows.Count, "A").End(3)(2, 1).Resize(1, 7) = Array(L1C, L2C, L3C, L4C, 1, d("T1R" & i), TB1)
  9.         End If
  10.     End If
  11. Next i
  12. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD