VBScript - Expected If

I can't seem to figure out why I'm getting this error. I hope someone can help.

I am getting an " Expected 'If' " error on the last line of my code, the "end sub" line.

I would post the entire code but it is 200 lines long.

Has anyone run across this Thanks.



Answer this question

VBScript - Expected If

  • toehlke

    Look at each IF statement, there should be an accompanying End If.

    Probably just above the last line.


  • VBScript - Expected If