Prev: Upload file to SharePoint from machine with CAC
Next: VB: Convert rectangular clusters of # within field: FindNext, Find
From: gtslabs on 26 Feb 2010 09:50 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 |