use of vbKeyBack
Posted on 2001-08-21
I want to be able to use vbKeyBack in a RichTextBox. The idea is as follows:
If I have a text string in the RTB such as 112233, I want to then use vbKeyBack & vbKeyBack so as to delete the last two characters, in this example the rtb would finally read 1122.
I tried the following:
Form1!rtbTemp.text = vbKeyBack & vbKeyback (etc...)
but what I got was the ASCII value (88 in other words) in the rtb.
What I want is a way to delete a certain number of characters from the rtb