Scott Phillips's Handy Hint #2:


ASCII is is the numeric code for each character and every character on the computer.

For example...

ASCII code for "A" would be 65
ASCII code for "a" would be 97

The reverse ASCII for 100 would be "d"
The reverse ASCII for 33 would be "!"

Any number between 32 and 255 has an ASCII equivilent.



To convert a character into a number you can use the following code;

Dim character As String

character = Asc(txtChar.Text)

txtASCII.Text = character



To convert a number into a character you can use the following code;

Dim ascii As String

ascii = txtASCII.Text

txtChar.Text = Chr(ascii)