Hi there. I've been trying to make a for loop with functions but I don't know if it is even possible.
Suppose that you have something like this:
Sub DoSomething1()
'Code for Do Something1
End Sub
Sub DoSomething2()
'Code for Do Something2
End Sub
Sub DoSomething3()
'Code for Do Something3
End Sub
Is there any chance to do something like this?
Sub DoEverything()
Dim i As Integer
For i = 1 To 3
Call DoSomethingi
'Notice that the i means the number on the loop
Next i
End Sub
I know that this is not the right way to do it but I would be very glad if anyone could point me on the right direction. Thanks in advance.
Bookmarks