<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Excel Home-输入时逐步提示信息的实现_Excel VBA实战技巧精粹</title><link>http://www.excelhome.net/post/453.htm</link><generator>RainbowSoft Studio Z-Blog 1.8 Spirit Build 80605</generator><language>zh-CN</language><pubDate>Mon, 22 Sep 2008 10:40:22 +0800</pubDate><item><title>Re:输入时逐步提示信息的实现_Excel VBA实战技巧精粹</title><author>634951384@qq.com (绕树参天藤)</author><link>http://www.excelhome.net/post/453.htm#cmt1227</link><pubDate>Thu, 12 Nov 2009 13:15:32 +0800</pubDate><guid>http://www.excelhome.net/post/453.htm#cmt1227</guid><description><![CDATA[求KEYUP事件代码：Private Sub TextBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)<br/>   Dim i As Integer<br/>   Dim Language As Boolean<br/>   Dim myStr As String<br/>   Me.ListBox1.Clear<br/>With Me.TextBox1<br/>   For i = 1 To Len(.Value)<br/>   If Asc(Mid$(.Value, i, 1)) &gt; 255 Or Asc(Mid$(.Value, i, 1)) &lt; 0 Then<br/>     Language = True<br/>    myStr = myStr &amp; Mid$(.Value, i, 1)<br/>   Else<br/>    myStr = myStr &amp; LCase(Mid$(.Value, i, 1))<br/>   End If<br/>  Next<br/> End With<br/> With Sheet2<br/>      For i = 2 To .Range(&quot;A65536&quot;).End(xlUp).Row<br/>       If Language = True Then<br/>         If Left(.Cells(i, 1).Value, Len(myStr)) = myStr Then<br/>          Me.ListBox1.AddItem .Cells(i, 1).Value<br/>         End If<br/>       Else<br/>         If Left(.Cells(i, 2).Value, Len(myStr)) = myStr Then<br/>           Me.ListBox1.AddItem .Cells(i, 1).Value<br/>          End If<br/>       End If<br/>      Next<br/>  End With<br/>  End Sub运行不对路]]></description></item></channel></rss>
