Function that returns the Ascii code which represents a specific character.
Syntax
Asc (string)
Asc ("A") will return 65
The Asc() function may be used in VBA or in an SQL query.
Examples
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
Related:
AscW - Return Unicode code for string
Chr - Return a character based on an ASCII code.
© Copyright SS64.com 1999-2013
Some rights reserved