Vídeo recomendado
https://youtu.be/diWPPPhW-9E

Pesquisa resultou em 1 ocorrência

por GuegoArgollo
Sex Set 20, 2019 8:50 pm
Fórum: Geral
Tópico: evento "ao apertar tecla"
Respostas: 3
Exibições: 20986

Re: evento "ao apertar tecla"

Achei uma provável solução aqui: http://www.vbforums.com/showthread.php?533750-RESOLVED-How-to-use-keypress-in-Excel-VBA Tente o seguinte: Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer) If ((KeyCode = 13) Or (KeyCode = 9)) And (TxtCodigoBarras.Text <> &q...