Using a loop doesn't necessarily requires a macro substituion.
>OK, you didn't say in which way you wanted to "improve" the example code. So now you're saying there may be 1 - x textboxes, depending on "what was defined in the INIT of the instance"? Well do the loop THAT many times then.
>
>I imagine macro subs and one loop, with one defo would be better than 10, with only x used depending on "what was defined in the INIT of the instance".
>
>Also, I HATE repetition of the scope of an object within all its containers. It makes the code ugly and harder to read, as well as you have really long statements, sometimes going off the A4 page.
>
--sb--