[Help]Button1 not declared[Solved]

Anyone know a way to fix this?
Code:
Module Module1
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
Public Sub HotKey(ByVal hotkey As Boolean)
HotKey = GetAsyncKeyState(Keys.Insert) 'Change to any hotkey
If hotkey = True Then
Button1.Click()
'Do something
'add your code here when the hotkey is pressed
End If
End Sub
End Module




