Tab order in user form with multiple frames

S

Stephen English

I have a user form (frmLetter) with three frames each with 5 or so text boxes
and a combo box.

I have code that steps through and depending on what user has typed in a
text box in frame1, I want to set focus to first combo box in third frame
I have tried
frmletter.fmethree.cboBox1.setfocus
which gives me error "Unexpected call to method or property access"
and
frmLetter.cbobox1.setfocus
which gives same error and yet intellisense can see cbobox1 when I type
frmletter.

Where can I find some wisdom on how to address these objects within frames
please?
Thanks
Stephen
 
C

Chuck Henrich

Hi Stephen

There must be something else in your code that's causing the error - the
SetFocus code works fine on its own.

HTH
 

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