Private Sub Form_Click()
Dim i As Integer, N As Integer
For i = 100 To 500
If i Mod 3 = 0 And i Mod 5 = 0 And i Mod 7 = 0 Then
Print i; " ";
N = N + 1
End If
Next i
Print
Print "共有" & N & "个"
End Sub