|
发表于 2014-1-26 15:07
|
显示全部楼层
本楼为最佳答案
- If DateValue(.Cells(i, 3)) >= DateValue(DTPicker1.Value) And DateValue(.Cells(i, 3)) <= DateValue(DTPicker2.Value) And InStr(.Cells(i, 4) & " ", ComboBox7.Text)>0 And InStr(.Cells(i, 5) & " ", ComboBox8.Text)>0 And InStr(.Cells(i, 6) & " ", ComboBox9.Text)>0 And InStr(.Cells(i, 7) & " ", ComboBox10.Text)>0 And InStr(.Cells(i, 11) & " ", ComboBox11.Text) > 0 And InStr(.Cells(i, 13) & " ", ComboBox12.Text)>0 And InStr(.Cells(i, 12) & " ", ComboBox13.Text)>0 And InStr(.Cells(i, 8) & .Cells(i, 9) & " ", ComboBox14.Text) > 0 Then
复制代码 |
|