Must be first statement on the line

Sub and Function must always be the first statement on any line in which they appear.  Additionally, End If, Else (only when used in a block If structure), and ElseIf can be used only when they are the first statements on a line.