·Q½Ð±Ð,±q¦hÓ¬¡¶Ã¯§ä¨ìÃöÁä¦r«á½Æ»s¤U¤@¦C,¦ý¤@ª½¦³¿ù»~
- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 10
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2014-12-12
- ³Ì«áµn¿ý
- 2016-4-13
|
·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»Pn¿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¾Ç²ß
|
|
|
|
|
- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 10
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2014-12-12
- ³Ì«áµn¿ý
- 2016-4-13
|
·PÁ ª©¥DGBKEE ªºÅçµýµ{¦¡,´À§Ú¸Ñ¨M°ÝÃD
·PÁ bobomi ªº¼ö¤ß¦^ÂÐ,ÁÂÁ |
|
§V¤O¾Ç²ß
|
|
|
|
|