vba use ascii code code example Example: vba character ascii code MsgBox Asc("a") ' 97 MsgBox Chr(97) ' a