Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Statement cannot end a block outside of a line 'If' statement 

A single-line If statement contains several statements separated by colons (:), one of which is an End statement for a control block outside the single-line If. Single-line If statements do not use the End If statement.

Error ID: BC32005

To correct this error

  • Move the single-line If statement outside the control block that contains the End If statement.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.