Search notes:

VBA function: chr / chrW

chr

chr(n) converts the ascii code n to a (single character) string. The opposite function is asc("x").
option explicit

sub main() ' {

    dim charNo as integer

    for charNo = asc("a") to asc("z")
        debug.print "chr(" & charNo & ") = " & chr(charNo)
    next charNo

end sub ' }
Github repository about-VBA, path: /functions/chr/asc_chr.bas
The Excel equivalent of chr seems to be =char(…) (in German: =zeichen(…))

chrW

chrW(u) is similar to chr. However, it accepts the range 0 - 65535 as input parameter and produces a Unicode character.
The Excel equivalent of chrW seems to be =uniChar(…) (In German: =uniZeichen(…))

See also

The Excel worksheet functions char, unichar, code and unicode.
VBA functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759391597, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/VBA/functions/chr/index(68): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78