Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Tab order in user form with multiple frames

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephen English - 23 Jan 2006 07:10 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.