- ©«¤l
- 254
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 310
- ÂI¦W
- 0
- §@·~¨t²Î
- W10
- ³nÅ骩¥»
- Excel 2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2019-6-16
- ³Ì«áµn¿ý
- 2024-9-23
|
¥»©«³Ì«á¥Ñ °a¤ªºµ ©ó 2021-1-25 21:24 ½s¿è
¦^´_ 11# abc9gad2016
Public Sub ´M§ä¬Û¹ïÄæ¦ì½m²ß()
Application.ScreenUpdating = False
Range(Sheets(2).Cells(2, 2).End(xlToRight), Sheets(2).Cells(2, 2)).ClearContents
Arr = Range(Sheets(1).Cells(Rows.Count, 1).End(xlUp), Sheets(1).Cells(6, 1).End(xlToRight))
Set xD = CreateObject("Scripting.Dictionary")
For Y = 1 To UBound(Arr, 2)
xD(Arr(1, Y)) = Y
Next Y
For X = 3 To UBound(Arr, 1)
For Y = 6 To UBound(Arr, 2)
If Arr(X, 1) = [´M§ä!A2] And Arr(X, Y) <> "" Then
E = E + 1
Sheets(2).Cells(2, 1 + E) = Arr(1, xD(Arr(1, Y)))
End If
Next Y
Next X
Application.ScreenUpdating = True
End Sub
«Øij קï samwang ¤j¤jªº¦ì¸m ¤ñ¸û¦n ¥Lªº¼gªk ¤ñ§Úªº¦n«Ü¦h |
|