Pages

Friday, March 02, 2007

ASCII to Character

There have been many times that we want to know the ASCII values. Ths function will print the character codes for the ASCII values in the first and second column respectively

Sub Print_Asc_Values()
For i1 = 1 To 255
Cells(i1 + 1, 1) = i1 Cells(i1 + 1, 2) = Chr(i1) Next i1
End Sub

Cheers
Shasur

1 comment:

  1. any body can help me i want to access Extirnal device with help to ASCII code how i can control Vb?

    ReplyDelete