Using the Chr Function
In this tutorial you will learn how to use the CHR Function.
The CHR function returns a String containing the character associated with the specified character code.
=CHR( charcode )
charcode the required charcode argument is a Long that identifies a character.
In this example we will work with the number 65.
The result is A.
The results using a Query would be
In a Form you could set the Default Value of a Textbox to
In a Form add a TEXTBOX control and rename it "txtChr", then you could add the following in the Load Event.
Private Sub Form_Load()
txtAsc = Chr(65)
Find a full Table of ASCII characters here.
The opposite of this is the ASC Function.
Want to learn more? Request this via the contact form.
You can find more about this by searching the website.
By: Alex Hedley
Click here to sign up for more FREE tips