View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rob van Gelder[_4_] Rob van Gelder[_4_] is offline
external usenet poster
 
Posts: 1,236
Default basic question about loops

Sub test()
Dim i As Long, j As Long

For i = 1 To 5
For j = 1 To 5
Debug.Print i & " x " & j & " = " & i * j
Next
Next
End Sub


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"ksnapp " wrote in message
...
i have a project that needs to run a loop within a loop.

I am havin problems with that. Is it possible. Does anybody have
refrence code if it possible?

thank you


---
Message posted from http://www.ExcelForum.com/