'/** ' * Copyright mpl by ERB software ' * http://wiki.yaslaw.info/dokuwiki/doku.php/vba/functions/index#isbyte ' * ' * Prüft on ein Value ein Byte-Wert ist ' * @param Variant Zu prüfender Wert ' * @return Boolean ' */ Public Function isByte(ByVal iExpression As Variant) As Boolean If Not IsNumeric(iExpression) Then Exit Function If iExpression < 0 Or 255 < iExpression Then Exit Function isByte = (CByte(iExpression) = iExpression) End Function