queria desenvolver um auto pot auto combo para mu on line
mas sou iniciante preciso de ajuda com os códigos quem puder me ajudar
ele age como macro, voce aperta o botão f12 e ele liga a sequencia de qweqweqweqweqweqwe ou 123123123123123123...
Public bAtivo As Boolean
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If (KeyCode = 39) Then
If (bAtivo = True) Then
bAtivo = False
Else
bAtivo = True
End If
End If
If (KeyCode = 37 And bAtivo) Then
Label1.Caption = Label1.Caption + "asd"
End If
End Sub
estaria certo esse código?
mas sou iniciante preciso de ajuda com os códigos quem puder me ajudar
ele age como macro, voce aperta o botão f12 e ele liga a sequencia de qweqweqweqweqweqwe ou 123123123123123123...
Public bAtivo As Boolean
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If (KeyCode = 39) Then
If (bAtivo = True) Then
bAtivo = False
Else
bAtivo = True
End If
End If
If (KeyCode = 37 And bAtivo) Then
Label1.Caption = Label1.Caption + "asd"
End If
End Sub
estaria certo esse código?