- ©«¤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-4-12 21:29 ½s¿è
¦^´_ 14# ¼B¤jG
©êºp ÀɮרS¦³¦s¨ìÀÉ >"< ...
¦³ªÅÀ°§Ú¸Õ¸Õ¬Ý ³oÓµ²ªG¬O¤£¬O§Anªº
¦ý¦³¤@ӫܤjªº°ÝÃD ¦pªGÀɮ׫ܤj ·|¶]«D±`ºC..¦]¬°§Úªº°j°é¤Ó¦h¤F ¦Ó¥B¦êÁp¤Ó¦h¦¸..
¤£ª¾¹D¦pªG¥Î ª«¥ó¥[¦r¨å ·|¤£·|¤ñ¸û§Ö ©ÎµÛ ¦³§ó¦nªº¼gªk ¬Ý¬Ý¦³¨S¦³¤j¤j¥i¥HÀ°¦£ ·PÁÂ- Public Sub §PÂ_ÃC¦â½m²ß0412()
- Application.ScreenUpdating = False
- Set xD = CreateObject("Scripting.Dictionary")
- For I = 1 To Cells(1, 1).End(4).Row
- E = Cells(I, 1)
- xD(E) = Trim(xD(E) & " " & I) & E
- Next I
- E = ""
- For Each D In xD
- SP = Split(xD(D), " ")
- If UBound(SP) = 0 Then xD.Remove (D): GoTo A01
- For Each S In SP
- If UBound(SP) > 0 Then
- If E <> "" Then xD(E) = Trim(xD(E) & " " & Mid(S, 1, 1))
- E = ""
- End If
- Next S
- A01: Next D
- For Each D In xD
- SP = Split(xD(D), " ")
- For Each S In SP
- For Y = 1 To Len(Cells(Mid(S, 1, 1), 1))
- E = E & Cells(Mid(S, 1, 1), 1).Characters(Y, 1).Font.ColorIndex
- Next Y
- If E <> "" Then xD(E) = Trim(xD(E) & " " & Mid(S, 1, 1))
- If F = 0 Then xD.Remove (D): F = 1
- E = ""
- Next S
- Next D
- For Each D In xD
- SP = Split(xD(D), " ")
- If UBound(SP) < 1 Then
- G = G & "," & Cells(xD(D), 1).Row
- End If
- Next D
- MsgBox Mid(G, 2) & "¦CÃC¦â¤£¬Û¦P"
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X [attach]33190[/attach] |
-
-
0412.rar
(7.51 KB)
|