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

½Ð±Ð¤ñ¹ï¤u§@ªí¬Û¦Pªº¶µ¥Ø

½Ð±Ð¤ñ¹ï¤u§@ªí¬Û¦Pªº¶µ¥Ø

¦U¦ì«e½ú¦n:
       ¤p§Ì·Q¤ñ¸û8­Ó¤u§@ªí¤¤AÄæ¬Û¦Pªº­È,¦C©óMain¤u§@ªí¤¤,¤p§Ì¦³°Ñ¦Òºô¸ôªº«e½ú¼gªºVBA¦Û¦æ­×§ï,¦ý«oµLªk¤ñ¹ï,¤£ª¾VBA­þ¸Ì¦³¿ù?½Ð«ü±Ð.ÁÂÁÂ.
       ¤ñ¸û.rar (15.22 KB)
¦~ÄÖ¤£¤p,¦ý§Ú«Ü·Q¾Ç

·PÁÂGBKEE¤j¤j,±z¯u¬O³]·Q©P¨ì.¤p§Ì¨S·Q¨ìªº.±z³£´À§Ú·Q¨ì¤F.¯u¬OÁÂÁÂ.
¦~ÄÖ¤£¤p,¦ý§Ú«Ü·Q¾Ç

TOP

·PÁÂregister313 ¤j¤j,«D±`¹ê¥Î,¤p§Ì¥ý®ø¤Æ¤@¤U,­Y¦³°ÝÃD©|½Ð¤£§[«ü±Ð.ÁÂÁÂ
¦~ÄÖ¤£¤p,¦ý§Ú«Ü·Q¾Ç

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-4-13 21:30 ½s¿è

¦^´_ 3# bhsm
ÁÙ¦³½æ¶W¤@¨Ö¦^µª   ¨Ï¥Î¤u§@ªí «ü¥O ¸ê®Æ  ->   ¦X¨Ö·Jºâ  «Ü§Öªº
  1. Option Explicit
  2. Sub Ex()
  3.     Dim Ar1(), Ar2(), xl As Integer, Rng As Range, xF As Range
  4.     Sheets("¬Û¦P").Move Before:=Sheets(1)
  5.     ReDim  Ar1(2 To Sheets.Count)
  6.     ReDim  Ar2(2 To Sheets.Count)
  7.     For xl = 2 To Sheets.Count
  8.         With Sheets(xl)
  9.             Set Rng = .Range("A5", .[A5].End(xlDown)(1, 2))
  10.             Ar1(xl) = Rng.Address(, , xlR1C1, 1)
  11.             Set Rng = .Range("E5", .[E5].End(xlDown)(1, 2))
  12.             Ar2(xl) = Rng.Address(, , xlR1C1, 1)
  13.         End With
  14.     Next
  15.     With Sheets(1)
  16.         .Cells = ""
  17.         .[A1] = "¶R¶W"
  18.         .[A2].Consolidate Sources:=Ar1, Function:=xlCount, TopRow:=False, LeftColumn:=True, CreateLinks:=False
  19.         .[A2].Consolidate Sources:=Ar1, Function:=xlCount, TopRow:=True, LeftColumn:=True, CreateLinks:=False
  20.         .[E1] = "½æ¶W"
  21.         .[E2].Consolidate Sources:=Ar2, Function:=xlCount, TopRow:=False, LeftColumn:=True, CreateLinks:=False
  22.         .[E2].Consolidate Sources:=Ar2, Function:=xlCount, TopRow:=True, LeftColumn:=True, CreateLinks:=False
  23.     End With
  24. End Sub
½Æ»s¥N½X

TOP

¦^´_ 3# bhsm
  1. Sub YY()
  2. R = 1: C = 0
  3. Sheets("¬Û¦P").Columns("A:B") = ""
  4. For Each Sh In Sheets
  5.   If Sh.Name <> "¬Û¦P" Then
  6.      For Each Rng In Range(Sh.[A6], Sh.[A6].End(xlDown))
  7.        With Sheets("¬Û¦P")
  8.          If Application.CountIf(.Columns("A"), Rng.Value) = 0 Then
  9.             .Cells(R, 1) = Rng.Value
  10.             .Cells(R, 2) = C + 1
  11.             R = R + 1
  12.          Else
  13.             x = Application.Match(Rng.Value, .Columns("A"), 0)
  14.             .Cells(x, 2) = .Cells(x, 2) + 1
  15.          End If
  16.        End With
  17.      Next
  18.   End If
  19. Next
  20. End Sub
½Æ»s¥N½X

TOP

¹ï¤£°_¨S»¡²M·¡
¥H"2883¶}µoª÷"¬°¨Ò,¦b"¤@»È.¥x»È.¤g»È.¥x¥ø.¥üÂ×.¦X®w.µØ«n.¹ü»È"¤u§@ªí¤¤.¦@¥X²{7¦¸
¥H"2330¥x¿n¹q"¬°¨Ò,¦b"¤@»È.¥x»È.¤g»È.¥x¥ø.¥üÂ×.¦X®w.µØ«n.¹ü»È"¤u§@ªí¤¤.¦@¥X²{6¦¸
¨ä¥LÁÙ¦³¦UªÑ¦U¥X²{ªº¦¸¼Æ
·Q½Ð±Ðªº¬O: ¬O§_¥i¥Îvba§ä¥X¦b³o8­Ó¤u§@ªí¤¤.¦P®É¥X²{ªºªÑ²¼¤Î¦¸¼Æ¶ñ¤JMain¤u§@ªí¤¤.ÁÂÁÂ
¦~ÄÖ¤£¤p,¦ý§Ú«Ü·Q¾Ç

TOP

¦^´_ 1# bhsm
AÄæ¬Û¦Pªº­È ­n»¡©ú¥Õ

TOP

        ÀR«ä¦Û¦b : ¨Ã«D¦³¿ú¾{¬O§Ö¼Ö¡A°Ý¤ßµL·\¤ß³Ì¦w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD