Error 85: Integer expression expected The expression was not an integer type. Change the result of the expression to an integer type. If you need to convert a real number to an integer, use the Trunc function.