Hi its my first time to join on this community, could anyone help me out to figure out?

Actually I want to figure out how this picture would work http://i49.tinypic.com/5bd1tt.png using loop.

Basically its like this on a elaborated details:

Write a program like the one to the right. The user enters a number into the textbox in the upper right-hand corner. When the "Run Loop" button is clicked, the numbers from Start to 100 are written to the textbox. In this figure, the numbers 58 to 100 are written to the textbox. <


The difference version is an inputbox will show first.

A command button and Textbox only. I'm getting hard to figure out using Loop.

5 Years
Discussion Span
Last Post by AndreRet

The links looks VERY suspect to me James. Give us more information on what and how you want to loop or include a picture as an attachment here.

We will gladly help from there...


Seems this is going to be here for some time. the solution will be...

Dim xStart As Integer, xEnd As Integer, xLoop As Integer

xStart = Text1.Text ''58 in this case...
xEnd = 100

For xLoop = xStart To xEnd
    Text2.Text = Text2.Text & vbCrLf & xLoop
Next xLoop
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.