Variable

N

NM

How do you code for a variable.
I want some code that will return a messagebox
showing the count in the box. Let's use 1 through 10 for
this example.

Thanks
 
F

Frank Kabel

Hi
try
sub foo()
dim i
for i = 1 to 10
msgbox "This is number: " & i
next
end sub
 
Top