View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Running a For function in a For function

Sub for_in_for()
For i = 1 To 3
For j = 1 To 3
Cells(i, j).Value = i + j
Next
Next
End Sub

or something similar
--
Gary''s Student - gsnu200798


"C. Corodan" wrote:

Hello,

I have a For function executing a loop. Inside this function, before it is
completed, I want to launch a new For function for a different loop.

Any ideas?