|Visual Basic Scripting Edition|
You created a SelectEnd Select construct, but did not include any Case statements. The following demonstrates the correct usage of the SelectEnd Select construct.
Select Casetestexpression [Caseexpressionlist-n [statements-n]] . . . [Case Elseexpressionlist-n [elsestatements-n]] End Select
To correct this error
Make sure that the SelectEnd Select construct includes all the necessary parts.
ReferenceSelect Case Statement