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 / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

ActiveControl

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Geoff - 24 Mar 2006 14:26 GMT
On a form I have a multipage with a number of pages and controls.

I cannot get ActiveControl.Name to return the control with focus as this
only returns "MultiPage1".  MultiPage1.Page1.ActiveControl.Name has no effect.

What should the correct syntax be to address controls on Page1 of MultiPage1 ?

Geoff
Chip Pearson - 24 Mar 2006 14:30 GMT
Try

MsgBox Me.MultiPage1.SelectedItem.ActiveControl.Name

Signature

Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

> On a form I have a multipage with a number of pages and
> controls.
[quoted text clipped - 8 lines]
>
> Geoff
Geoff - 24 Mar 2006 14:48 GMT
Thanks for that.

Geoff

> Try
>
[quoted text clipped - 12 lines]
> >
> > Geoff
 
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.