>>It's the way I'd expect it to be. The first one is outside any case code. The rest aren't and are indented accordingly:
Select Case i
>> 'Outside any Case
>> Case 1
>> 'Inside Case 1
>> Case 2
>> 'Inside Case 2
>> End Select
>
>Yes, you are right. I wonder how it could be implemented so it would know that a comment just before a case should be aligned to it.
I do it like this.
Select Case i
Case 1 ' SQL
Case 2 ' Oracle
End Select
Timothy Bryan