我看了啊,就是这句错误,但是怎么样把这个错误改成正确的呢!Text1.Text = Left(sInfo, InStr(sInfo, "#" - 1))改成这样失败啊Text1.Text = left(sInfo, InStr(sInfo, "#") - 1)