- ©«¤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
|
¦^´_ 1# abc9gad2016
³o¬O°Ñ¦Ò jcchiang ¤j¤jªº¼gªk ¦³ªÅ¬Ý¬Ý¬O¤£¬O³o¼Ë ·PÁÂ- Public Sub ´M§ä¬Û¹ïÄæ¦ì½m²ß()
- Arr = [¤u§@ªí1!A1].CurrentRegion
- Set xD = CreateObject("Scripting.Dictionary")
-
- For Y = 1 To UBound(Arr, 2)
- xD(Arr(2, Y)) = Y
- Next Y
-
- For X = 3 To UBound(Arr, 1)
- For Y = 2 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(2, xD(Arr(2, Y)))
- End If
- Next Y
- Next X
- End Sub
½Æ»s¥N½X |
|