[ 本帖最后由 ikon 于 2008-12-14 09:50 编辑 ]作者: Henry D. Sy 时间: 2008-12-14 09:53 http://www.accessbbs.cn/bbs/thread-15410-1-1.html作者: ikon 时间: 2008-12-29 11:49
经过几经研究,自己解决了,谢谢提示
Private Sub cmdGL_Click()
Dim numPC, numZH As Long
For numPC = 0 To Me.lstPC.ListCount - 1
For numZH = 0 To Me.lstGJZH.ListCount
If InStr(1, Me.lstGJZH.ItemData(numZH), Me.lstPC.ItemData(numPC)) > 0 Then
Me.lstGJZH.RemoveItem numZH
numZH = numZH - 1
End If
Next
Next