Private Sub Command1Click()
Dim i As Integer
Dim j As Integer
i = 1: j = 0
list1.clear
Do While i <= 1000
If (i Mod 3 = 2 And i Mod 5 = 3 And i Mod 7 = 2) Then
List1.AddItem i
①
End If
i = i + 1
Loop
Label1.Caption = Str(j)
End Sub
微信扫码预览、分享更方便