Ãö©óScripting.Dictionary°£¤F¹LÂo«½ÆÈ¡A¬O§_¥i¥H¦P®É©¿²¤ªÅÈ¡H
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
Ãö©óScripting.Dictionary°£¤F¹LÂo«½ÆÈ¡A¬O§_¥i¥H¦P®É©¿²¤ªÅÈ¡H
|
|
|
|
|
|
- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-10-30
|
¦^´_ 1# av8d
«ØijªÅ¥Õ¥i¥Hª½±µ±Æ°£¡AÁÂÁ |
|
|
|
|
|
|
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¦^´_ 2# samwang
»¡¨ÓºF·\¡A³o¬qµ{¦¡½X¬O¥Ñºô¸ô½Æ»s¶K¨Óªº¡A
§Ú§V¤O¾Ç²ß¤Î²z¸Ñ¤¤¡AÁÂÁ©âªÅ¸Ñµª¡C |
|
|
|
|
|
|
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¥»©«³Ì«á¥Ñ av8d ©ó 2021-10-6 01:21 ½s¿è
¦^´_ 2# samwang
¬ã¨s¤F³\¤[¡A¤]³z¹L·j¯Á"Scripting.Dictionary"¡A¬d¬Ý¤FÃö©ó±zªº½d¨Ò
¦ýÁÙ¬OµLªk±ÀºV¥Xµ²ªG¡AÁٽнç±Ð¡A
¦]¬°ªÅÈÀH®É·|³Q¶ñ¤J¸ê®Æ¡A©Ò¥H¬O§_¯à¼È®É©¿²¤¡A
¦ý¬O·í¶ñ¤J®É¡A´N·|ºâ¤J¡C |
|
|
|
|
|
|
- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-10-30
|
¦^´_ 4# av8d
¦]¬°ªÅÈÀH®É·|³Q¶ñ¤J¸ê®Æ¡A©Ò¥H¬O§_¯à¼È®É©¿²¤¡A
¦ý¬O·í¶ñ¤J®É¡A´N·|ºâ¤J¡C
>>§ó§ï¦p¤U¡AÁÂÁÂ
For Each A In .Range("B4", .[B65536].End(xlUp))
If A.Value = "" Then GoTo 99
d(A.Value) = "" '¥u¨úBÄ椣«½ÆÈ
'd(A.Value) = IIf(d(A.Value) = "", A.Offset(, 1).Value, d(A.Value) & "," & A.Offset(, 1))
99: Next |
|
|
|
|
|
|
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¦^´_ 5# samwang
ÁÂÁ«e½ú¡A¯uªº¬OÁŵM¶}®Ô¡A¾Ç²ß¤F³\¦h·sª¾ÃÑ¡A¥Ñ°J·PÁ¡C |
|
|
|
|
|
|
- ©«¤l
- 2025
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 2053
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- Office2007
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_¥«
- µù¥U®É¶¡
- 2011-3-2
- ³Ì«áµn¿ý
- 2024-3-14
|
For Each A In .Range("B4", .[B99].End(xlUp))
'd(A.Value) = IIf(d(A.Value) = "", A.Offset(, 1).Value, d(A.Value) & "," & A.Offset(, 1))
If A.Value <> "" Then d(A.Value) = "" '±Æ°£ªÅÈ
Next |
|
{...} ªí¥Ü»Ýn¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡
|
|
|
|
|
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¥»©«³Ì«á¥Ñ av8d ©ó 2021-10-15 15:05 ½s¿è
¦^´_ 7# ML089
¨Ï¥Î«áµo²{·|«O¯dªÅȤ@Ó¡A
ì¨Ó¤]¥i¥H³o¼Ë¼g¡A¸U¤À·PÁ¡A¾Ç²ß¤F¡C |
|
|
|
|
|
|
- ©«¤l
- 1447
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 1471
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Excel 2010 & 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2020-7-15
- ³Ì«áµn¿ý
- 2024-11-29
|
ÁÂÁ½׾Â,ÁÂÁ¦U¦ì«e½ú
«á¾ÇÂǦ¹©«¾Ç²ß¨ì²M³æª¾ÃÑ»P¦r¨åªº¹B¥Î,¾Ç²ß¤è®×¦p¤U,½Ð¦U¦ì«e½ú«ü±Ð
ÂI¿ï²M³æµ²ªG:
Option Explicit
Private Sub ComboBox1_Change()
Dim A As Range, d As Object
Set d = CreateObject("Scripting.Dictionary")
With Sheets("§Úªºª¾ÃÑ®w")
For Each A In .Range("B4", .[B65536].End(xlUp)).SpecialCells(2)
d(A.Value) = ""
Next
ComboBox1.List = d.keys
End With
End Sub
Private Sub ComboBox1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
'IJµoComboBox1_Change
ComboBox1.Value = "."
ComboBox1.Value = ""
End Sub |
|
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y
|
|
|
|
|
- ©«¤l
- 354
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 387
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- vba,vb,excel2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2017-1-8
- ³Ì«áµn¿ý
- 2024-8-2
|
¦^´_ 6# av8d
If d.exists("") Then d.Remove "" |
|
|
|
|
|
|