r/t 2110 - Can't Move Focus to control

J

JMay

I have Userform1 with 3 pages

On My page1 I have TextBox1 inside Frame1

Once I enter all data covering the 3 pages and I update my database
I want in the next line of code to RETURN (set focus) to my Page1 - Textbox1

Currently using: (but it is not working) - What must I do?

UserForm1.Page1.TextBox1.SetFocus
 
J

JMay

Never mind, Found googling:

Me.MultiPage1.Value = 0
TextBox1.SetFocus

Now works fine!!
 

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