Oorang
Well-known Member
- Joined
- Mar 4, 2005
- Messages
- 2,071
OK I am getting reasonably competent at writing VBA to do what I want to, but because I am all self taught there certain more technical details I am still missing. Here is one:
Frequently I can reduce the overall number of lines in my code through careful use of for and do loops, however I was think about it and realized that use of a loop means you have to use variables and you also have two additional lines of code (the for/do and the next) that must be executed each loop. Is it better to have fewer lines and more line execution, or more total lines but fewer lines executed?
Frequently I can reduce the overall number of lines in my code through careful use of for and do loops, however I was think about it and realized that use of a loop means you have to use variables and you also have two additional lines of code (the for/do and the next) that must be executed each loop. Is it better to have fewer lines and more line execution, or more total lines but fewer lines executed?