Recent content by sopek

  1. S

    The for loop, prime numbers

    The code should look like this ? Dim x As Integer Dim k As Integer Dim kk As Integer Dim i As Integer x = txt1 k = txt2 If Not IsNumeric(x) Then MsgBox "Wartość nienumeryczna !!!", vbOKOnly, "Error" Exit Sub End If If Not IsNumeric(k) Then MsgBox "Wartość nienumeryczna !!!"...
  2. S

    The for loop, prime numbers

    Thanks for the advice. Numerical interval is entered from the keyboard . I'm not sure what I'm there in the post where you wrote me to put the code.The code should look like this ? Dim x As Integer Dim k As Integer Dim kk As Integer Dim i As Integer x = txt1 k = txt2 If Not IsNumeric(x) Then...
  3. S

    The for loop, prime numbers

    The while loop, prime numbers Hello. I do not know how to finish this code is on display prime number after entering the initial and final value. Attached is a photo of my form.Please help. Dim x, k, kk, i As Integer x = txt1 k = txt2 If Not IsNumeric(x) Then MsgBox...
Back
Top Bottom