Form
AfdrukkenCode:Dim intteller As Integer Dim strplaats(5) As String Dim intpostcode(5) As Integer For intteller = 0 To 5 strplaats(intteller) = InputBox(("Geef de plaats in waar je woont " & intteller + 1 & " in."), "Voer je plaatsnaam in") If strnummerplaat(intteller) = "leuven" Then strnummerplaat(intteller) = 0 intteller = 5 Else intpostcode(intteller) = InputBox(("Geef de bijhorende postcode in " & intteller + 1 & " in."), "Postcode") Next
The meaning with this is when you type "leuven" it stops with the for nextCode:Rtxtwoning.Text = Rtxtwoning.Text & Space(25) & "Plaats" & Space(5) & "Postcode" & vbCrLf For intteller = 0 To 5 Rtxtwoning.Text = Rtxtwoning.Text & "Woning " & intteller + 1 & Space(15) & strplaats(intteller) & Space(10) & intpostcode(intteller) & vbCrLf Next
that formally works
But, when you print it it shows "leuven" in the rtxtwoning.
I want that it doesn't show up anymore.
And that from this intteller(where leuven should be inputted) after this intteller, nothing will be displayed anymore
sorry for my broken english


Reply With Quote


