Function that returns the ASCII code which represents a specific character.
Syntax
Asc (string)
Asc ("A") will return 65
The Asc() function can be used in VBA or in an SQL query.
In a query:
In VBA:
Dim intDemo As Integer
intDemo = Asc ("A")
> 65
intDemo = Asc ("ABC")
>
65
âI've nothing much to offer, Thereâs nothing much to take, Iâm an absolute beginnerâ ~ David Bowie
AscW - Return Unicode code for string
Chr - Return a character based on an ASCII code.