I want to run a set of values through a procedure:
DoProcedure("strThing1"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
DoProcedure("strThing2"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
DoProcedure("strThing3"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I would love to do it with reiterating code:
For Each "strThing1", "strThing2", "strThing3"
DoProcedure()
Next
The way I usually attack this is to set up an array. Then I can use the index number of the array in a For...Each Loop.
For Each lngArrayIndex
DoProcedure(call on the array funct.)
Next
Is there a way to achieve the little fantasy construct in blue? I skip the declared array. I enter a value list, conceptually an array of course. The loop goes through the list.
Oh yeh, I have resorted to a table in the past. Prefer not.
-- SM
When will I be able to balance my net income with my gross habits?
DoProcedure("strThing1"
DoProcedure("strThing2"
DoProcedure("strThing3"
I would love to do it with reiterating code:
For Each "strThing1", "strThing2", "strThing3"
DoProcedure()
Next
The way I usually attack this is to set up an array. Then I can use the index number of the array in a For...Each Loop.
For Each lngArrayIndex
DoProcedure(call on the array funct.)
Next
Is there a way to achieve the little fantasy construct in blue? I skip the declared array. I enter a value list, conceptually an array of course. The loop goes through the list.
Oh yeh, I have resorted to a table in the past. Prefer not.
-- SM
When will I be able to balance my net income with my gross habits?