ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   basic question about loops (https://www.excelbanter.com/excel-programming/294525-basic-question-about-loops.html)

ksnapp[_47_]

basic question about loops
 
i have a project that needs to run a loop within a loop.

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

thank yo

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


Rob van Gelder[_4_]

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/





All times are GMT +1. The time now is 10:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com