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