![]() |
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 |
All times are GMT +1. The time now is 08:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com