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
Chuck Henrich - 24 Jan 2006 15:59 GMT
Hi Stephen
There must be something else in your code that's causing the error - the
SetFocus code works fine on its own.
HTH

Signature
Chuck Henrich
www.ProductivityApps.com
Stylist Style Generator - automatically create and define sets of paragraph
numbering and heading styles
> I have a user form (frmLetter) with three frames each with 5 or so text boxes
> and a combo box.
[quoted text clipped - 13 lines]
> Thanks
> Stephen