Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 468
Default r/t 2110 - Can't Move Focus to control

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 468
Default r/t 2110 - Can't Move Focus to control

Never mind, Found googling:

Me.MultiPage1.Value = 0
TextBox1.SetFocus

Now works fine!!

"JMay" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Control Focus RLang Excel Programming 1 August 10th 06 05:12 AM
Move cell focus in VBA VD[_2_] Excel Programming 1 June 2nd 06 04:17 PM
setfocus sometimes gets error 2110 tmort[_14_] Excel Programming 0 August 18th 05 03:59 PM
Set Focus Problem for textbox control on multipage control ExcelDeveloperSPR Excel Programming 1 July 16th 04 08:54 PM
3 digits then move the focus mikewild2000[_7_] Excel Programming 9 February 1st 04 01:59 AM


All times are GMT +1. The time now is 11:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"