joedigital Posted February 15, 2013 Share Posted February 15, 2013 This page explains how to use If...Then...ElseIf:http://www.w3schools.com/vbscript/vbscript_conditionals.asp>>You can use the If...Then...ElseIf statement if you want to select one of many blocks of code to execute:<< The code example shows ElseIF and the expression on the same line: >>ElseIf i = 11 Then<< but does not mention that this is required. You must either keep 'ElseIf' and the <expression> on the same line or use the line break/continuation character to split the line:ElseIf _ i = 11 Then Otherwise you will encounter a complier error. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now