rhyatt,

That's some really bad coding. First try indenting your if statement to give you a better understanding of what is executed under what conditions. But you definitely need some End If statements in there somewhere.