title: On Error GoTo not working; Code breaks
body: <p>I am writing a VBA function to import data from one table to another in Access. The table I'm importing into has more strict data constraints (i.e. types, size etc.), so I'm expecting a lot of errors. </p>
  
  <p>Rather than sift through every VBA error that comes up, I want my recordset loop to skip the entire current record and make a note of it in a separate table whenever it runs into an error. So every other line I've inserted <code>On Error GoTo RecordError</code>. But for some reason it's not handling every error. My code just breaks and tells me what the error is. I have the "Break on Unhandled Exceptions" option checked already.</p>
  
  <p>Here's a screenshot that should explain it.
  <img src="https://i.stack.imgur.com/Jqjp6.png" alt="Even by itself, this screenshot seems to make no sense to me."></p>
  
  <p>Why would it be breaking on the line immediately following an Error handler?</p>