Mar 8, 2007 #1 jpaulino Programmer May 28, 2002 26 DE Hi all, I would like to change the key pressed by another value. e.g. key pressed = "A", return key = "B" Is it possible ? Tanks
Hi all, I would like to change the key pressed by another value. e.g. key pressed = "A", return key = "B" Is it possible ? Tanks
Mar 8, 2007 #2 mansii Programmer Oct 18, 2002 641 ID Assuming that the keypress occurs in a text box: Code: If e.KeyChar = Chr(Asc("A")) Then e.Handled = True SendKeys.Send("B") End If Beware of the value returned by Asc(). Regards. Upvote 0 Downvote
Assuming that the keypress occurs in a text box: Code: If e.KeyChar = Chr(Asc("A")) Then e.Handled = True SendKeys.Send("B") End If Beware of the value returned by Asc(). Regards.