Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chr ( number_code )

Status
Not open for further replies.

matrixknow

IS-IT--Management
May 3, 2007
78
Chr(10) returns a linefeed character.
Is there a reference list for the chr numbers ?

what is the Chr. number for ...
1. Chr number for |
2. Chr number for a tab
 
Hi Matrixknow

You could check this out yourself by writing this code on a button:-

For a = 30 To 100
MsgBox Chr$(a) & vbCrLf & a
Next a

You can change the values of 'a' to whatever you want, but try the above first.

I use it to find various ascii codes

Cheers

James
 
DIY: the reverse function of chr() is asc().
 
Good ids and reference. Chr(124) is |
I could not find the reference for a TAB
text (tab) text
 
I looked up ASCII wikipedia. I think its Chr(9) HORIZONTAL TAB
tsuji, asc() gives me this id.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top