¥i§_½Ð¦U¦ì¥ý¶iÀ°§Ú²¤Æ¥N½X
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28

|
¸Õ¸Õ³o¼Ë(§Ú¨S¦³´ú¸Õ)
¦ý¬O¦pªGn¼g10000 Ócell,¤£·|§Ö«Ü¦h.- Private Sub jump123()
- Application.Calculation = xlCalculationManual
- Application.ScreenUpdating = False
- For a = 2 To 10000
- If Cells(a, 1) = "" Then Exit For
- s = Left(Cells(a, 4), 6)
- b = False
- If s = "201106" Then
- b = True
- Cells(a, 5) = "A"
- ElseIf s = "201101" Then
- b = True
- Cells(a, 5) = "B"
- ElseIf s = "201111" Then
- b = True
- Cells(a, 5) = "C"
- ElseIf s = "201102" Then
- b = True
- Cells(a, 5) = "D"
- ElseIf s = "201127" Then
- b = True
- Cells(a, 5) = "E"
- End If
- If Not (b) Then
- k1 = Left(s, 2)
- If k1 = "11" Then
- k2 = Mid(s, 3, 2)
- If k2 >= "01" And k2 <= "17" Then
- Cells(a, 5) = Chr(69 + Val(k2))
- ElseIf k2 >= "18" And k2 <= "20" Then
- Cells(a, 5) = Chr(70 + Val(k2))
- End If
- End If
- End If
- Next a
- Application.Calculation = xlCalculationAutomatic
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|