- ©«¤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 
 
           
 | 
                
 ¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-9-23 16:49 ½s¿è  
 
¦^´_ 1# s7659109  
¸Õ¸Õ¬Ý- Sub Ex_¯S©wÈ·J¾ã¨ìÁ`ªí()
 
 -     Dim xNO As String, AR(), A, Sh As Worksheet, R As Range, i As Integer, xR As Integer
 
 -     xNO = InputBox("¿é¤J³f¸¹")
 
 -     If xNO = "" Then Exit Sub
 
 -     i = 1
 
 -     For Each Sh In Sheets
 
 -         If InStr(Sh.Name, "A0") = 1 Then
 
 -             For Each R In Sh.Range("a1").CurrentRegion.Columns("B").Cells
 
 -                 If R.Text = xNO Then
 
 -                 A = Sh.Range("a1").CurrentRegion.Rows(R.Row)
 
 -                 ReDim Preserve AR(1 To i)
 
 -                 AR(i) = A
 
 -                 i = i + 1
 
 -                 End If
 
 -             Next
 
 -         End If
 
 -     Next
 
 -     If i = 1 Then MsgBox "³f¸¹: §ä¤£¨ì  " & xNO: Exit Sub
 
 -     With Sheets("Á`ªí").Range("A1").CurrentRegion
 
 -         .Parent.Activate
 
 -         .Offset(2).Clear
 
 -         .Range("A3").Resize(i - 1, UBound(A, 2)) = Application.Transpose(Application.Transpose(AR))
 
 -          xR = Sheets("Á`ªí").Range("A1").CurrentRegion.Rows.Count
 
 -         .Cells(3, 2).Resize(xR - 2).NumberFormatLocal = "@"
 
 -         .Cells(3, 2).Resize(xR - 2).FormulaR1C1 = xNO
 
 -         .Cells(xR + 1, 1) = "¦Xp"
 
 -         .Cells(xR + 1, 5) = "=SUM(R[-1]C:R[-" & xR - 3 & "]C)"
 
 -         .Cells(xR + 1, 5) = .Cells(xR + 1, 5)
 
 -         .Cells(xR + 1, 8) = "=SUM(R[-1]C:R[-" & xR - 3 & "]C)"
 
 -         .Cells(xR + 1, 8) = .Cells(xR + 1, 8)
 
 -         .Cells(3, 2).Resize(xR - 2).NumberFormatLocal = "@"
 
 -         .Cells(3, 2).Resize(xR - 2).FormulaR1C1 = xNO
 
 -         'Rows (xR + 1)
 
 -         .Rows(xR + 1).Interior.Color = vbYellow
 
 -     End With
 
 -     MsgBox "ok"
 
 - End Sub
 
  ½Æ»s¥N½X |   
 
 
 
 |