No, what i meant is how will the code know which is the number it needs to stop at? Should i have an inputbox there to ask the users for the number and then proceed accordingly?