A procedure that returns a value and that can be used in an expression. You declare a function with the Function statement and end it with the End Function statement.