Hey everybody
I am trying to do problem solving in VBA by the use of a loop. In the following example it is working quite well (optimization of C by the change in "a" an "b"). The problem occurs because I need a third variable, let's call it d. I try doing the same thing but adding "next d" after "next a" and "next b" (and of course also adding the variable earlier in the code). But apparently the loop function doesn't work when there are three variables - does anybody have an idea of how to fix this?
Bookmarks