ChrB

Public Function ChrB(ByVal CharCode As Long) As String

Converts the binary charcode (0-255) to a string.

Public Function UtfBom() 'Returns the Byte order an UTF 8 file can start with to indicate it is UTF
   Return ChrB(&hEF) & ChrB(&hBB) & ChrB(&hBF) 'EF BB BF
End Function

See also: