Jump to content

joedigital

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by joedigital

  1. 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.
×
×
  • Create New...