title: classic ASP error '80020009' Exception occurred
body: <p>On line 5 of the code to a site I am fixing, I get an exception error from classic ASP. The ** line below is line 5. It looks like this function is used on other pages in the site, although I'm not quite sure why.  I've tried just removing the code, but since it's used other places, it must be important, so maybe I shouldn't try removing it....</p>
  
  <pre><code>Private Function AE(myString)
  **If myString &lt;&gt; "" then** 
  AE = Replace(myString,"`","'")
  End If
  End Function
  </code></pre>
  
  <p>Here is an example of where <code>AE</code> is used: <code>response.write AE(rs("ArticleTitle"))</code></p>
  
  <p>Thanks in advance for any help you can give me!</p>