Expression does not produce a value

You have tried to use an expression that does not produce a value in a value-producing context, such as calling a Sub in a context where a Function is expected.

Error ID: BC30491

To correct this error

  • Change the expression to one that produces a value.

See Also

Error Types