Quote Originally Posted by anj
When doing the same function multiple times, it is more efficient to build a subroutine.
Andrew, that's absolutely right,
but if you don't let us know what the SUB requires as input and what it
deliveres as output,
we cant offer much help.