buscass
sub checkkeys
y abajo de los if
pones if frmmain.sendtxt.visible = true then exit sub
Eso o meterlo en el legalpos del cliente usando esta linea:
if frmmain.sendtxt.visible = true then exit function
buscass
sub checkkeys
y abajo de los if
pones if frmmain.sendtxt.visible = true then exit sub