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

[µo°Ý] ¦³°ÝÃD½Ð±Ð>"<

[µo°Ý] ¦³°ÝÃD½Ð±Ð>"<

¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-12-21 16:30 ½s¿è

¥DºÞ¤ß¦å¨Ó¼é¡A­n§Ú§â¤½¥q­û¤uªº¸ê®Æ±q·s¾ã²z....

¦]¬°·s­û¤u½s¸¹ªº°ÝÃD¡AÅý¤p©f§Ú§N¦½ª½¬y....

¥þ³¡¸ê®Æ¤j¬ù¦³2¤d¦hµ§....¤£¥i¯à¤@­Ó¤@­Ó¹ï§a!!

½Ð¦U¦ì¯«¤j¸Ñ±Ï§Ú><"

½d¨Ò¦p¤U:

ªº½s¸¹¬°100300661007091    ­n½s¦¨·sªº½s¸¹¬°10030019661007091N

¸ê®Æ¤º·s­û¤u°ÑÂø¡A¤£ª¾¦p¦ó§ó§ï...
ªì¥X­TÃfªº¤p¤k¤l

¸Õ¬Ý¬Ý¯à§_¸Ñ¨M±zªº°ÝÃD,G1¿é¤J­È§Y±Ò°Êµ{¦¡

TEST.rar (12.9 KB)

G1 ¿é¤J­È§Y¥i±Ò°Ê

TOP

¦^´_ 2# chihminyang88


    ·PÁÂÀ°¦£¡A¦ý§ÚÅv­­¤£°÷>"<¨S¿ìªk¤U¸ü....

    ¥i¥Hª½±µ«ü¾É§Ú¤@¤U¶Ü??
ªì¥X­TÃfªº¤p¤k¤l

TOP

©êºp! ¨Sª`·N±zªºÅv­­
±NG1¿é¤J¼Æ¦r§Y¥i±Ò°Êµ{¦¡

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$G$1" Then
        Dim I As Long
        Dim J As Long
      
        Application.ScreenUpdating = False
        Call LASTCell(J)
  For I = 2 To J
    If Len(Sheets("SHEET1").Range("C" & I)) = 18 Or Right(Sheets("SHEET1").Range("C" & I), 1) = "N" Then
      Sheets("SHEET1").Range("D" & I) = "·s"
    End If
     
    If Len(Sheets("SHEET1").Range("C" & I)) = 15 Then
      Sheets("SHEET1").Range("D" & I) = "ÂÂ"
   
     If Sheets("SHEET1").Range("A" & I) <> Sheets("SHEET1").Range("A" & I + 1) Then
      Call INSERT(I)
      Sheets("SHEET1").Range("A" & I + 1 & ":D" & I + 1).Value = Sheets("SHEET1").Range("A" & I & ":D" & I).Value
      Sheets("SHEET1").Range("C" & I + 1) = Left(Sheets("SHEET1").Range("C" & I), 6) & "19" & Right(Sheets("SHEET1").Range("C" & I), 9) & "N"
      Sheets("SHEET1").Range("D" & I + 1) = "·s"
      I = I + 1
      J = J + 1
     End If
   End If
  Next
End If
End Sub
Sub LASTCell(J As Long)
     With Sheets("SHEET1").Range("A:A")
         Set X = .Find(What:="", After:=.Cells(.Cells.Count), _
             LookIn:=xlValues, LookAt:=xlWhole, SearchDirection:=xlNext)
         If Not X Is Nothing Then J = X.Row + 2
     End With
End Sub
Sub INSERT(I As Long)
'
    Rows(I + 1 & ":" & I + 1).Select
    Selection.INSERT Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End Sub

°õ¦æ«e.jpg (211.91 KB)

°õ¦æ«e.jpg

°õ¦æ«á.jpg (219.54 KB)

°õ¦æ«á.jpg

TOP

¦^´_ 4# chihminyang88


    ·PÁ¤j¤jÀ°¦£¡A¦ý..¦³ÂI¤Ó±M·~¤F

    ¤p©f§Ú¥h§ä¨ì¤F=REPLACE³o­Ó¨ç¼Æ¡A¦³ÂIÆZµL¸£ªº¡A¦ý¤]ºâ§¹¦¨¤u§@¤F-.-!!
ªì¥X­TÃfªº¤p¤k¤l

TOP

        ÀR«ä¦Û¦b : ¤Hªº¤ß¦a¬O¤@²¥¥Ð¡A¤g¦a¨S¦³¼½¤U¦nºØ¤l¡A¤]ªø¤£¥X¦nªºªG¹ê¡C -
ªð¦^¦Cªí ¤W¤@¥DÃD