End Select without Select Case
An End Select statement is used without a corresponding Select Case statement. Check other control structures within the Select Case...End Select structure and verify that they are correctly matched. For example, an If without a matching End If inside the Select Case...End Select structure will generate this error.