CChar
Using the CChar Function
In this tutorial you will learn how to use the CChar Function.
The CChar function returns the first Character.
=CChar( expression )
expression the value you wish to convert to a Character
FORM
In a Form you could set the Default Value of a Textbox to
=CChar("AB") '"A"
VBA
In a Form add a TEXTBOX control and rename it "txtCChar", then you could add the following in the Load Event.
Private Sub Form_Load()
txtCChar = CChar("AB") '"A"
End Sub
Course
Want to learn more? Request this via the contact form.
Search
You can find more about this by searching the website.
By: Alex Hedley
Click here to sign up for more FREE tips
|