Are you using a vba userform or are the text boxes in the document itself?
When you say this is just a trial and you won't be using two boxes, what is the point of wanting code that uses two boxes?
ContentControlOnExit would make a lot more sense if this is in the document itself (and it doesn't require any text boxes).
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|