Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Multi-tab Setfocus Problem

Hello Experts!
I am trying to set focus on Page3 and on txtGRD1 once the user clicks
btnEnterGRD on the Page1.
I am getting an error: when setting it to txtGRD1 or Page3 of: "run-time
error 2110 cant move focus to the control because it is disabled, invisible
or of a type that does not accept focus". The tab and textbox are enabled and
visible so maybe I am trying to put it in in the wrong place?

code:

Private Sub btnEnterGRD_Click()
frm_SchC.GRD1.SetFocus
End Sub

Can someone help me with this?
Thanks
Tim

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
SetFocus problem cesw Excel Programming 1 September 10th 05 08:19 PM
SetFocus problem JH Excel Programming 1 April 18th 05 03:55 PM
SetFocus Problem Todd Huttenstine[_2_] Excel Programming 2 January 19th 04 10:50 PM
TextBox SetFocus Problem Tom Ogilvy Excel Programming 1 September 12th 03 01:27 PM
SetFocus problem RFraley Excel Programming 2 September 7th 03 01:18 PM


All times are GMT +1. The time now is 08:37 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"