What is the use of CHAR function?
CHAR Function in Excel returns the last or right most character(or Characters) in a text string.
50+ Project Management Templates Pack
Excel PowerPoint Word
Advanced Project Plan & Portfolio Template
Business Presentations Templates Pack
20+ Excel Project Management Pack
20+ PowerPoint Project Management Pack
10+ MS Word Project Management Pack
What is the syntax of CHAR function:
Where number – Is a number between 1 and 255 specifying which character you want. The character is from the character set used by your computer.
CHAR Function in Excel – Examples
In the above examples, you can observe how CHAR function is finding the character
Example 1: Displays the 61 character in the set
Example 2: Displays the 65 character in the set
Example 3: Displays the 97 character in the set
Example 4: Displays the 57 character in the set
Example 5: Displays the 33 character in the set and appending to the string “Hi”VBA example on CHAR function
Please find the list of ASCII values.
CHAR function is also available in VBA, following is the example code:
Dim sOutout As String