- ©«¤l
- 69
- ¥DÃD
- 16
- ºëµØ
- 0
- ¿n¤À
- 84
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- EXCEL2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2016-3-20
- ³Ì«áµn¿ý
- 2024-4-24

|
¦^´_ abc9gad2016
¤£¦n·N«ä¡A¤Öºâ1Äæ¡A½Ð¦A´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub tt2()
Set xD = CreateObject("Sc ...
samwang µoªí©ó 2021-1-25 17:41 
·PÁ¤j¤j¡A¬Q±ß¥Î±zªºµ{¦¡½X«áµy°µ×§ï¦³¦¨¥\§Ë¦¨§Únªº¼Ë¤l ÁÂÁÂ
Sub ·j´M()
'
' ·j´M ¥¨¶°
' ·j´M
''
Worksheets("´M§ä").Range("B2:V2").ClearContents
Set xD = CreateObject("Scripting.Dictionary")
Sheets("´M§ä").[F6:X6] = ""
T = Sheets("´M§ä").[A2]
xD(T & "") = ""
Arr = Range([¤u§@ªí1!X6], [¤u§@ªí1!A65536].End(3))
For i = 2 To UBound(Arr)
N = xD(Arr(i, 1) & ""): If N = 0 Then GoTo 99
For J = 6 To 24
If Arr(i, J) <> "" Then: M = M + 1: Arr(1, M) = Arr(1, J)
Next
99: Next
If M > 0 Then Sheets("´M§ä").[B2].Resize(1, M) = Arr
End Sub |
|