View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ken Macksey Ken Macksey is offline
external usenet poster
 
Posts: 77
Default How do I use a for/next loop to preform the same actions to every.

Hi

That is what a for next loop does by default unless you change something
with conditions within the loop. What are you trying to do?

For i = 1 to 5
msgbox("Hi")
Next i

will do the same thing 5 times in a row.

Ken