I created two (2) textboxes inside a frame. The frame I created is on a worksheet (not using USERFORM). What I want to do is have the cursor on the first textbox when I first open the worksheet. My code looks like this: Frame1.Controls("textbox1").setfocus . But, when the code executes, I get run-time error '2110', "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."
Is the syntax correct to SetFocus on Textbox1? And, is there anything in the textbox1 property I need to set??
David
Is the syntax correct to SetFocus on Textbox1? And, is there anything in the textbox1 property I need to set??
David