CHR() is in vbe6.dll. If Visual basic for applications is ticked inReferences this library is active.