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
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