I am making a macro that runs a series of tasks. I have it so that you can make the form invisible with a simple Me.visible = false button. I can't seem to find a way to make it return for invisible by pressing ctrl + home.
does the form have to be visible for me to send a key?
How do you send multiple keys?
any help is much appreciated
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown If e.KeyCode = Keys.Home Then 'add a second key here? Me.Visible = True e.Handled = True End If End Sub