Statements or labels invalid between Select Case and first Case

   

You can place nothing but a comment between the Select Case statement and the first Case clause. This error has the following cause and solution:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).