CByte(expr)
Conversion
Convert to an 8 bit unsigned integer Byte value.
Parameters Description expr Convert a number or string value to an unsigned byte value.
Sub Main Debug.Print CByte(1.6) ' 2 End Sub
Copyright Help/Systems LLC and its group of companies.All trademarks and registered trademarks are the property of their respective owners.