Activating 2 textboxes for scrollbars

E

excelnut1954

I'm trying to make the verticle scrollbars of 2 textboxes visible when
it comes up.
I've tried the code below. However, only textbox12 will show the
scrollbar. If I put textbox13 as the last line, then that would be the
one to work.
My obvious question is.... can I make both of these scrollbars visible
when the userform comes up???


Private Sub userform_initialize()

UserForm1.TextBox13.SetFocus
UserForm1.TextBox12.SetFocus
End Sub


Thanks,
J.O.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top