title: If Err.Description = "...." Then ..... in VBscript
body: <p>I'm fixing the bellow error "datatable importsheet operation failed. Invalid file" using this way:</p>
  
  <pre><code>On error resume next
  
  DataTable.ImportSheet Environment("STPFilePath"),Environment("TestScriptName"),"Action2" 
  
  If Err.Description = "The DataTable.ImportSheet operation failed. Invalid file." \n "Line (20): "DataTable.ImportSheet Environment("STPFilePath"),Environment("TestScriptName"),"Action2""."  Then
  
  list of instructions
  
  end if 
  </code></pre>
  
  <p>But I got this error: </p>
  
  <p>The test run cannot continue due to a syntax error.</p>
  
  <pre><code>Expected 'Then'
  
  Line (24): "If Err.Description = "The DataTable.ImportSheet operation failed. Invalid file." \n "Line (20): "DataTable.ImportSheet Environment("STPFilePath"),Environment("TestScriptName"),"Action2""."  Then".
  </code></pre>
  
  <p>Everything looks right. Please any help ? where I'm wrong ? </p>