F Fred Thomas Feb 19, 2004 #1 Have a button on a form and would like the "GotFocus" event do the same as pressing the button. TIA
K Ken Snell Feb 19, 2004 #2 Run the code attached to the button's OnClick event: Private Sub ButtonName_GotFocus() Call ButtonName_Click() End Sub
Run the code attached to the button's OnClick event: Private Sub ButtonName_GotFocus() Call ButtonName_Click() End Sub