Visual Basic Scripting Edition |
|
Cannot use parentheses when calling a Sub
You invoked a subroutine without the Call statement, but used parentheses (). When calling a subroutine without the Call statement, do not use parentheses.
To correct this error
- Remove the parentheses from the subroutine invocation.
- Use the Call statement to invoke the subroutine instead.
See Also
Call Statement | Sub Statement