- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 101
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-4-27
               
|
¦^´_ 5# totes
¤£¶·¨Ï¥Î½d³ò§@²M³æ- Sub ex()
- Set d = CreateObject("Scripting.Dictionary")
- C = InputBox("¿é¤J¶}ÀY¦r¤¸", , "TC")
- ar = Range("E2", [E65536].End(xlUp)).Value
- For Each a In ar
- If a Like C & "*" Then d(a) = "" '¤£«½Æ²Å¦X³W«h
- Next
- If d.Count = 0 Then MsgBox "µL²Å¦X¸ê®Æ": Exit Sub
- With Range("G11").Validation
- .Delete
- .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
- xlBetween, Formula1:=Join(d.keys, ",")
- .IgnoreBlank = True
- .InCellDropdown = True
- .InputTitle = ""
- .ErrorTitle = ""
- .InputMessage = ""
- .ErrorMessage = ""
- .IMEMode = xlIMEModeNoControl
- .ShowInput = True
- .ShowError = True
- End With
- End Sub
½Æ»s¥N½X |
|