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

·Q½Ð±Ð,±q¦h­Ó¬¡­¶Ã¯§ä¨ìÃöÁä¦r«á½Æ»s¤U¤@¦C,¦ý¤@ª½¦³¿ù»~

·Q½Ð±Ð,±q¦h­Ó¬¡­¶Ã¯§ä¨ìÃöÁä¦r«á½Æ»s¤U¤@¦C,¦ý¤@ª½¦³¿ù»~

·Q½Ð±Ð,±q¦h­Ó¬¡­¶Ã¯§ä¨ìÃöÁä¦r«á½Æ»s¤U¤@¦C,¦ý¤@ª½¦³¿ù»~

Sub ex()

Dim Ar(), i%, C$, A As Range

With Sheets(1) '²Ä¤@±i¤u§@ªí

C = "¨­¤ÀÃҩβΤ@ÃÒ¸¹" '­n¿z¿ïªº­È

   For i = 2 To Sheets.Count '±q²Ä2±i¤u§@ªí¶}©l¦^°é

      With Sheets(i)

         For Each A In .UsedRange.Columns(1).Cells 'AÄæ¤w¨Ï¥ÎÀx¦s®æ°µ°j°é

            If A = C Then '¦pªG»P­n¿z¿ïªº­È¬Û¦P

               ReDim Preserve Ar(s)

               Ar(s) = A.Offset(1).Resize(, 11) '±N¸Ó¦CA:kÄæ¼g¤J°}¦C

               s = s + 1

            End If

         Next

      End With

    Next

.[A4].CurrentRegion.Offset(1).ClearContents '²M°£Â¦³¸ê®Æ

If s > 0 Then .[A5].Resize(s, 11) = Application.Transpose(Application.Transpose(Ar)) '­Y¦³²Å¦X¶µ¥Ø«h¼g¤J¤u§@ªí1ªºA5¥H¤U¦ì¸m

End With



End Sub


¦b³o¤@¦æ¤@ª½¥X²{¿ù»~"13"«¬ºA¤£²Å¦X,§Ú¤£ª¾¬O§_§Úªº¬¡­¶Ã¯¤Ó¦h,¨ä¹ê¬¡­¶Ã¯¦@¦³¬ù500­¶,¦pªG§Ú1~60­¶«O¯d,¨ä«á³£§R±¼,´N¨S¦³¿ù»~
If s > 0 Then .[A5].Resize(s, 11) = Application.Transpose(Application.Transpose(Ar)) '­Y¦³²Å¦X¶µ¥Ø«h¼g¤J¤u§@ªí1ªºA5¥H¤U¦ì¸m

¤£ª¾¥i§_À°¦£¸Ñ¨M,¦pªG¯à¦³§ì¦P¤@¸ê®Æ§¨¤ºªº.xlsxÀɮפèªk´N¥i¦n¤F,§Ú´N¤£¥Î±NÀɮתº¬¡­¶Ã¯¶ë¨ì¦P¤@­Ó.xlsxÀɸÌ,§Úªº¨C­ÓÀÉ¥u¦³¤@­Ó¬¡­¶Ã¯

201407-12_error.zip (929.88 KB)
§V¤O¾Ç²ß

·PÁ ª©¥DGBKEE ªºÅçµýµ{¦¡,´À§Ú¸Ñ¨M°ÝÃD
·PÁ bobomi ªº¼ö¤ß¦^ÂÐ,ÁÂÁÂ
§V¤O¾Ç²ß

TOP

        ÀR«ä¦Û¦b : ª¾ÃÑ­n¥Î¤ßÅé·|¡A¤~¯àÅܦ¨¦Û¤vªº´¼¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD