![]() |
mouse pointer to be focused on userform command button upon opening
I am opening up a userform and I want the mouse pointer to be focused
on the command button I have so the user can quickly click it instead of having to move the mouse and find the command button on the form. Private Sub UserForm_activate() TextBox1.Value = ActiveCell.Value CommandButton1.SetFocus commandbutton1.(make mouse pointer goto this command button) End Sub |
All times are GMT +1. The time now is 06:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com