Delen via


'<procedurename>' has no parameters and its return type cannot be indexed

A call to a Function or Sub procedure supplies one or more arguments, but the procedure does not take any arguments, and its return type (if it is a Function) is not an array type.

Error ID: BC32016

To correct this error

  • Remove the argument or arguments from the procedure call.

See Also

Concepts

Sub Procedures

Function Procedures

Reference

Function Statement (Visual Basic)

Sub Statement (Visual Basic)