SetFocus problem
You have to use activate when it is located on a worksheet. The setfocus
method belongs to the control object and it is only available in a userform.
--
Regards,
Tom Ogilvy
"JH" wrote in message
...
Hello,
please does anyone know why this code gives run-time error - object
doesn't
suport this properity or method
Private Sub Radio2_Click()
Worksheets("start").TextBox3.Enabled = True
Worksheets("start").TextBox3.BackColor = &HFFFFC0
Worksheets("start").TextBox3.SetFocus -THIS LINE CAUSES RUN-TIME ERROR
End Sub
thanks in adavance for any suggestions
JH
|