标题:[求助]看看有什么问题,怎么改
只看楼主
轻轻我的宝贝
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2006-2-16
 问题点数:0 回复次数:0 
[求助]看看有什么问题,怎么改


Private Sub Command1_Click(Index As Integer)
Dim i, j As Integer
For i = 2 To Text1.Text("sheet1").UsedRange.Rows.Count + 1
For j = 2 To Text2.Text("sheet2").UsedRange.Rows.Count + 1
If InStr(1, Trim(Text1.Text("sheet1").Cells(i, 1)), Trim(Text2.Text("sheet1").Cells(j, 1))) >= 1 Then
Text1.Text("sheet1").Rows(i).Delete
i = i - 1
End If
Next
Next
End Sub

Private Sub Command2_Click()
End
End Sub

Private Sub Command3_Click(Index As Integer)
CommonDialog1.ShowOpen
Text1.Text = CommonDialog1.FileName
End Sub

Private Sub Command4_Click()
CommonDialog1.ShowOpen
Text2.Text = CommonDialog1.FileName
End Sub

Private Sub Form_Load()

End Sub

2006-05-09 16:21



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-62863-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.111949 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved