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

[µo°Ý] ¨DÀ°¦£!¦³Ãö­«½Æ¿é¤Jªº¸ê®Æ¬O§_¥i¥H¦Û°ÊÂл\???

¥»©«³Ì«á¥Ñ imingho ©ó 2018-5-12 09:40 ½s¿è

¦^´_ 1# afu9240
±z­ì¥»µ{¦¡½Xªºif§PÂ_¦b¥[¤W¤@­ÓOr Sheets("¤u§@ªí4").Cells(i, 2) = Sheets("¤u§@ªí1").Cells(3, 6) ´N·|¦Û°ÊÂл\
  1. Sub EX()
  2. Dim i As Integer
  3. Dim y As Integer


  4. i = 2

  5.    Do
  6.     If Sheets("¤u§@ªí4").Cells(i, 1) = "" Or Sheets("¤u§@ªí4").Cells(i, 2) = Sheets("¤u§@ªí1").Cells(3, 6) Then
  7.         Exit Do
  8.     End If
  9.         i = i + 1
  10.     Loop
  11.     Sheets("¤u§@ªí4").Cells(i, 1) = Sheets("¤u§@ªí1").Cells(3, 2)
  12.     Sheets("¤u§@ªí4").Cells(i, 2) = Sheets("¤u§@ªí1").Cells(3, 6)
  13.     Sheets("¤u§@ªí4").Cells(i, 3) = Sheets("¤u§@ªí1").Cells(3, 4)
  14.     Sheets("¤u§@ªí4").Cells(i, 4) = Sheets("¤u§@ªí1").Cells(7, 3)
  15.     Sheets("¤u§@ªí4").Cells(i, 5) = Sheets("¤u§@ªí1").Cells(8, 3)
  16.     Sheets("¤u§@ªí4").Cells(i, 6) = Sheets("¤u§@ªí1").Cells(9, 3)
  17.     Sheets("¤u§@ªí4").Cells(i, 7) = Sheets("¤u§@ªí1").Cells(10, 3)
  18.    

  19.    If Sheets("¤u§@ªí4").Cells(i, 7) <= 59 Then
  20.       Sheets("¤u§@ªí4").Cells(i, 8) = "¤B"
  21.     End If
  22.    If Sheets("¤u§@ªí4").Cells(i, 7) >= 60 Then
  23.        Sheets("¤u§@ªí4").Cells(i, 8) = "¤þ"
  24.     End If
  25.     If Sheets("¤u§@ªí4").Cells(i, 7) >= 70 Then
  26.          Sheets("¤u§@ªí4").Cells(i, 8) = "¤A"
  27.         End If
  28.     If Sheets("¤u§@ªí4").Cells(i, 7) >= 80 Then
  29.          Sheets("¤u§@ªí4").Cells(i, 8) = "¥Ò"
  30.         End If
  31.    
  32.     If Sheets("¤u§@ªí4").Cells(i, 7) >= 90 Then
  33.        Sheets("¤u§@ªí4").Cells(i, 8) = "Àu"
  34.     End If
  35.    
  36.    
  37. End Sub
½Æ»s¥N½X

TOP

¦^´_ 11# imingho

·PÁÂi¤j¦^´_!!!thanks*20000
yvonne

TOP

        ÀR«ä¦Û¦b : ¤f»¡¦n¸Ü¡B¤ß·Q¦n·N¡B¨­¦æ¦n¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD